Author: nick
Date: 2008-10-23 16:10:46 +0000 (Thu, 23 Oct 2008)
New Revision: 28381
Modified:
xfce4-panel/trunk/plugins/launcher/launcher.c
xfce4-panel/trunk/plugins/launcher/launcher.h
Log:
* Fully remove the emission hook from the launcher. This prints errors when
removing a launcher.
Modified: xfce4-panel/trunk/plugins/launcher/launcher.c
===================================================================
--- xfce4-panel/trunk/plugins/launcher/launcher.c 2008-10-23 11:39:17 UTC
(rev 28380)
+++ xfce4-panel/trunk/plugins/launcher/launcher.c 2008-10-23 16:10:46 UTC
(rev 28381)
@@ -1251,10 +1251,6 @@
if (G_UNLIKELY (launcher->popup_timeout_id))
g_source_remove (launcher->popup_timeout_id);
- /* remove icon theme change */
- g_signal_remove_emission_hook (g_signal_lookup ("changed",
GTK_TYPE_ICON_THEME),
- launcher->theme_timeout_id);
-
/* destroy the popup menu */
if (launcher->menu)
gtk_widget_destroy (launcher->menu);
Modified: xfce4-panel/trunk/plugins/launcher/launcher.h
===================================================================
--- xfce4-panel/trunk/plugins/launcher/launcher.h 2008-10-23 11:39:17 UTC
(rev 28380)
+++ xfce4-panel/trunk/plugins/launcher/launcher.h 2008-10-23 16:10:46 UTC
(rev 28381)
@@ -84,7 +84,6 @@
/* event source ids */
guint popup_timeout_id;
- guint theme_timeout_id;
/* settings */
guint move_first : 1;
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits