diff -r 5a0d150931dd -r 0256335d1557 pidgin/gtkmenutray.c --- a/pidgin/gtkmenutray.c Sat Oct 08 21:58:16 2011 +0000 +++ b/pidgin/gtkmenutray.c Sat Oct 08 22:17:55 2011 +0000 @@ -92,7 +92,9 @@ static void pidgin_menu_tray_finalize(GObject *obj) { +#if !GTK_CHECK_VERSION(2,12,0) PidginMenuTray *tray = PIDGIN_MENU_TRAY(obj); +#endif #if 0 /* This _might_ be leaking, but I have a sneaking suspicion that the widget is * getting destroyed in GtkContainer's finalize function. But if were are