# HG changeset patch # User Richard Laager # Date 1141504225 0 # Node ID b0dd970986996fa6434c4f384b5f87429da549c8 # Parent e132f0969763856f718864cea114298f7599364b [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 diff -r e132f0969763 -r b0dd97098699 src/gtkconv.c --- 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))); }