aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-gtk/menuitem.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-03-10 11:05:16 -0600
committerTed Gould <ted@gould.cx>2011-03-10 11:05:16 -0600
commit9aa5445985ebf244681ccfb3bb6f264eb4282bca (patch)
treeb8a4f31686c6339498e34785252ff57016a5f518 /libdbusmenu-gtk/menuitem.c
parent05d9b0b58fa3c9247860f911bb3477cd52665671 (diff)
parentcec350b1d24eeeb308fd02846bf637d4ec92fbb5 (diff)
downloadlibdbusmenu-9aa5445985ebf244681ccfb3bb6f264eb4282bca.tar.gz
libdbusmenu-9aa5445985ebf244681ccfb3bb6f264eb4282bca.tar.bz2
libdbusmenu-9aa5445985ebf244681ccfb3bb6f264eb4282bca.zip
New upstream release.
∘ Add helper to get cached menuitem from widget ∘ Have the GTK Dbusmenu Client handle theme directories (LP: #727325) ∘ Fix a bunch of memory leaks (LP: #722972) ∘ Handle _ in menuitems more correctly when parsing (LP: #621301) ∘ Protect from NULL layout_props (LP: #729722) ∘ Remove the property from the hashtable before signaling that it's been changed (LP: #725603) ∘ Wrap emitted properties in a variant ∘ Fix enum templates so they can be included by other programs without error ∘ Setting the cached menu item (LP: #723463) (LP: #729128) (LP: #729194)
Diffstat (limited to 'libdbusmenu-gtk/menuitem.c')
-rw-r--r--libdbusmenu-gtk/menuitem.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/libdbusmenu-gtk/menuitem.c b/libdbusmenu-gtk/menuitem.c
index 370dbf2..b3358fe 100644
--- a/libdbusmenu-gtk/menuitem.c
+++ b/libdbusmenu-gtk/menuitem.c
@@ -119,12 +119,7 @@ dbusmenu_menuitem_property_get_image (DbusmenuMenuitem * menuitem, const gchar *
g_error_free(error);
}
- error = NULL;
- g_input_stream_close(input, NULL, &error);
- if (error != NULL) {
- g_warning("Unable to close input stream: %s", error->message);
- g_error_free(error);
- }
+ g_object_unref(input);
g_free(icondata);
return icon;