]> Pileus Git - ~andy/gtk/commitdiff
Destroy the image too. Patch by Carlos Garcia Campos
authorMatthias Clasen <matthiasc@src.gnome.org>
Sat, 13 Dec 2008 05:42:46 +0000 (05:42 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Sat, 13 Dec 2008 05:42:46 +0000 (05:42 +0000)
        * gtk/gtkstatusicon.c (gtk_status_icon_finalize): Destroy the
        image too. Patch by Carlos Garcia Campos

svn path=/trunk/; revision=21882

ChangeLog
gtk/gtkstatusicon.c

index d7978525c2200433aa6f9601652559e1f39c0449..a12ea39ee28a1153c8e08131db7fce87402dae4b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-12-13  Matthias Clasen  <mclasen@redhat.com>
+
+       Bug 556839 – Crash when opening a link
+
+       * gtk/gtkstatusicon.c (gtk_status_icon_finalize): Destroy the
+       image too. Patch by Carlos Garcia Campos
+
 2008-12-13  Matthias Clasen  <mclasen@redhat.com>
 
        Bug 563751 – xatom cache is prefilled too late
index 371b0847ef359fae5eed27690e58f9bf2da5421a..20a564a2df4e38f448803008fd5741f2557683a7 100644 (file)
@@ -942,6 +942,7 @@ gtk_status_icon_finalize (GObject *object)
   priv->blank_icon = NULL;
 
 #ifdef GDK_WINDOWING_X11
+  gtk_widget_destroy (priv->image);
   gtk_widget_destroy (priv->tray_icon);
 #endif