From a3fad1999460507087462235863619396214eafc Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 13 Dec 2008 05:42:46 +0000 Subject: [PATCH] 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 --- ChangeLog | 7 +++++++ gtk/gtkstatusicon.c | 1 + 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index d7978525c2..a12ea39ee2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-12-13 Matthias Clasen + + 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 Bug 563751 – xatom cache is prefilled too late diff --git a/gtk/gtkstatusicon.c b/gtk/gtkstatusicon.c index 371b0847ef..20a564a2df 100644 --- a/gtk/gtkstatusicon.c +++ b/gtk/gtkstatusicon.c @@ -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