Mercurial > pidgin
changeset 13393:b0dd97098699
[gaim-migrate @ 15766]
Remove some unused code. From the CVS logs, I can see this was used at one time, but it's not relevant anymore, as far as I can tell. Removing it makes it a lot clearer what is happening in the functions.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sat, 04 Mar 2006 20:30:25 +0000 |
parents | e132f0969763 |
children | eb0ce960ff60 |
files | src/gtkconv.c |
diffstat | 1 files changed, 0 insertions(+), 22 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkconv.c Sat Mar 04 20:18:34 2006 +0000 +++ b/src/gtkconv.c Sat Mar 04 20:30:25 2006 +0000 @@ -1308,17 +1308,6 @@ static void menu_toolbar_cb(gpointer data, guint action, GtkWidget *widget) { - GaimGtkWindow *win = data; - GaimConversation *conv; - GaimGtkConversation *gtkconv; - - conv = gaim_gtk_conv_window_get_active_conversation(win); - - if (conv == NULL) - return; - - gtkconv = GAIM_GTK_CONVERSATION(conv); - gaim_prefs_set_bool("/gaim/gtk/conversations/show_formatting_toolbar", gtk_check_menu_item_get_active(GTK_CHECK_MENU_ITEM(widget))); } @@ -1344,17 +1333,6 @@ static void menu_timestamps_cb(gpointer data, guint action, GtkWidget *widget) { - GaimGtkWindow *win = data; - GaimConversation *conv; - GaimGtkConversation *gtkconv; - - conv = gaim_gtk_conv_window_get_active_conversation(win); - - if (!conv) - return; - - gtkconv = GAIM_GTK_CONVERSATION(conv); - gaim_prefs_set_bool("/gaim/gtk/conversations/show_timestamps", gtk_check_menu_item_get_active(GTK_CHECK_MENU_ITEM(widget))); }