ayatana-commits team mailing list archive
-
ayatana-commits team
-
Mailing list archive
-
Message #01283
[Branch ~dbusmenu-team/dbusmenu/trunk] Rev 88: We shouldn't need to unref, as we don't have a ref.
------------------------------------------------------------
revno: 88
committer: Ted Gould <ted@xxxxxxxx>
branch nick: trunk
timestamp: Wed 2010-03-24 12:33:45 -0500
message:
We shouldn't need to unref, as we don't have a ref.
modified:
libdbusmenu-gtk/client.c
--
lp:dbusmenu
https://code.launchpad.net/~dbusmenu-team/dbusmenu/trunk
Your team ayatana-commits is subscribed to branch lp:dbusmenu.
To unsubscribe from this branch go to https://code.launchpad.net/~dbusmenu-team/dbusmenu/trunk/+edit-subscription.
=== modified file 'libdbusmenu-gtk/client.c'
--- libdbusmenu-gtk/client.c 2010-03-24 16:15:29 +0000
+++ libdbusmenu-gtk/client.c 2010-03-24 17:33:45 +0000
@@ -525,10 +525,6 @@
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