Destroy the image too. Patch by Carlos Garcia Campos

* gtk/gtkstatusicon.c (gtk_status_icon_finalize): Destroy the
        image too. Patch by Carlos Garcia Campos


svn path=/trunk/; revision=21882
This commit is contained in:
Matthias Clasen 2008-12-13 05:42:46 +00:00
parent 7b30a1589d
commit a3fad19994
2 changed files with 8 additions and 0 deletions

View File

@ -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

View 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