diff options
author | Ted Gould <ted@gould.cx> | 2010-03-24 12:33:45 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-03-24 12:33:45 -0500 |
commit | 9cd59b2659b97e9cb4a8dcbf3e88bcb5713fb721 (patch) | |
tree | fb83c7a715af1aab14be8d98b20550b5e3d0b3d1 /libdbusmenu-gtk | |
parent | 61885859a612061a04e1791b30265aa5fafa7b27 (diff) | |
download | libdbusmenu-9cd59b2659b97e9cb4a8dcbf3e88bcb5713fb721.tar.gz libdbusmenu-9cd59b2659b97e9cb4a8dcbf3e88bcb5713fb721.tar.bz2 libdbusmenu-9cd59b2659b97e9cb4a8dcbf3e88bcb5713fb721.zip |
We shouldn't need to unref, as we don't have a ref.
Diffstat (limited to 'libdbusmenu-gtk')
-rw-r--r-- | libdbusmenu-gtk/client.c | 4 |
1 files changed, 0 insertions, 4 deletions
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 |