[gtk+/gtk-2-24] GtkTrayIcon: chain up in dispose



commit 8da54b81182af2d56230de22c0e00a5aba9ab442
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Feb 25 14:37:57 2011 -0500

    GtkTrayIcon: chain up in dispose
    
    Pointed out in bug 643131 and bug 640308.

 gtk/gtktrayicon-x11.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtktrayicon-x11.c b/gtk/gtktrayicon-x11.c
index 8767dc4..94a2d26 100644
--- a/gtk/gtktrayicon-x11.c
+++ b/gtk/gtktrayicon-x11.c
@@ -197,6 +197,8 @@ gtk_tray_icon_dispose (GObject *object)
   gtk_tray_icon_clear_manager_window (icon);
 
   gdk_window_remove_filter (root_window, gtk_tray_icon_manager_filter, icon);
+
+  G_OBJECT_CLASS (gtk_tray_icon_parent_class)->dispose (object);
 }
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]