[gaim-migrate @ 15766]

Sat, 04 Mar 2006 20:30:25 +0000

author
Richard Laager <rlaager@pidgin.im>
date
Sat, 04 Mar 2006 20:30:25 +0000
changeset 13394
f437516c577e
parent 13393
92f832a46211
child 13395
3174cf554db2

[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.

src/gtkconv.c file | annotate | diff | comparison | revisions
--- 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)));
 }

mercurial