Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 10840:a9d989c84609 | 10841:9c4dca2deb99 |
|---|---|
| 292 | 292 |
| 293 gtkconv = GAIM_GTK_CONVERSATION(conv); | 293 gtkconv = GAIM_GTK_CONVERSATION(conv); |
| 294 gtkwin = GAIM_GTK_WINDOW(gaim_conversation_get_window(conv)); | 294 gtkwin = GAIM_GTK_WINDOW(gaim_conversation_get_window(conv)); |
| 295 | 295 |
| 296 if (gaim_prefs_get_bool("/plugins/gtk/X11/notify/notify_focus")) { | 296 if (gaim_prefs_get_bool("/plugins/gtk/X11/notify/notify_focus")) { |
| 297 GtkWidget *child = NULL; | |
| 298 gint page_num; | |
| 299 | |
| 300 page_num = gaim_conversation_get_index(conv); | |
| 301 child = gtk_notebook_get_nth_page(GTK_NOTEBOOK(gtkwin->notebook), page_num); | |
| 302 | |
| 303 /* TODO should really find a way to make this work no matter where the | 297 /* TODO should really find a way to make this work no matter where the |
| 304 * focus is inside the conv window, without having to bind to | 298 * focus is inside the conv window, without having to bind to |
| 305 * focus-in-event on the g(d|t)kwindow */ | 299 * focus-in-event on the g(d|t)kwindow */ |
| 306 /* try setting the signal on the focus-in-event for | 300 /* try setting the signal on the focus-in-event for |
| 307 * gtkwin->notebook->container? */ | 301 * gtkwin->notebook->container? */ |
