[gaim-migrate @ 12513]

Tue, 19 Apr 2005 03:18:50 +0000

author
Richard Laager <rlaager@pidgin.im>
date
Tue, 19 Apr 2005 03:18:50 +0000
changeset 10841
a988b6a8894d
parent 10840
4501cc8c65de
child 10842
b433be9d292d

[gaim-migrate @ 12513]
sf patch #1185437, from Richard Laager
"After the removal of gaim_conversation_get_index,
this plugin started spewing warnings. From what I can see,
this is completely dead code. This patch removes it."

committer: Mark Doliner <markdoliner@pidgin.im>

plugins/notify.c file | annotate | diff | comparison | revisions
--- a/plugins/notify.c	Tue Apr 19 03:16:43 2005 +0000
+++ b/plugins/notify.c	Tue Apr 19 03:18:50 2005 +0000
@@ -294,12 +294,6 @@
 	gtkwin  = GAIM_GTK_WINDOW(gaim_conversation_get_window(conv));
 
 	if (gaim_prefs_get_bool("/plugins/gtk/X11/notify/notify_focus")) {
-		GtkWidget *child = NULL;
-		gint page_num;
-
-		page_num = gaim_conversation_get_index(conv);
-		child = gtk_notebook_get_nth_page(GTK_NOTEBOOK(gtkwin->notebook), page_num);
-
 		/* TODO should really find a way to make this work no matter where the
 		 * focus is inside the conv window, without having to bind to
 		 * focus-in-event on the g(d|t)kwindow */

mercurial