diff plugins/notify.c @ 10841:9c4dca2deb99

[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: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 19 Apr 2005 03:18:50 +0000
parents 1a65fc2d7978
children 57e3e958ff49
line wrap: on
line diff
--- 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 */