From 9cd59b2659b97e9cb4a8dcbf3e88bcb5713fb721 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Wed, 24 Mar 2010 12:33:45 -0500 Subject: We shouldn't need to unref, as we don't have a ref. --- libdbusmenu-gtk/client.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'libdbusmenu-gtk') diff --git a/libdbusmenu-gtk/client.c b/libdbusmenu-gtk/client.c index e79d088..98f1cb2 100644 --- a/libdbusmenu-gtk/client.c +++ b/libdbusmenu-gtk/client.c @@ -525,10 +525,6 @@ image_property_handle (DbusmenuMenuitem * item, const gchar * property, const GV icon either. */ gtkimage = NULL; } else if (g_strcmp0(iconname, DBUSMENU_MENUITEM_ICON_NAME_BLANK) == 0) { - if (gtkimage != NULL) { - g_object_unref(gtkimage); - } - gtkimage = gtk_image_new(); } else { /* Look to see if we want to have an icon with the 'ltr' or -- cgit v1.2.3