------------------------------------------------------------
revno: 88
committer: Ted Gould <[email protected]>
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

_______________________________________________
Mailing list: https://launchpad.net/~ayatana-commits
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ayatana-commits
More help   : https://help.launchpad.net/ListHelp

Reply via email to