Author: jasper
Date: 2006-11-15 21:13:33 +0000 (Wed, 15 Nov 2006)
New Revision: 23889

Modified:
   xfce4-panel/trunk/plugins/iconbox/iconbox.c
Log:
Clean up widgets as well as the rest of the icon struct. Fixes bug #2587.

Modified: xfce4-panel/trunk/plugins/iconbox/iconbox.c
===================================================================
--- xfce4-panel/trunk/plugins/iconbox/iconbox.c 2006-11-15 13:51:12 UTC (rev 
23888)
+++ xfce4-panel/trunk/plugins/iconbox/iconbox.c 2006-11-15 21:13:33 UTC (rev 
23889)
@@ -674,6 +674,8 @@
     if (!screen)
         return;
 
+    gtk_container_foreach (GTK_CONTAINER (ib->iconbox), 
+                           (GtkCallback) gtk_widget_destroy, NULL);
     cleanup_icons (ib);
     
     ib->netk_screen = netk_screen_get (gdk_screen_get_number (screen));

_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to