diff options
| author | Ted Gould <ted@gould.cx> | 2011-03-10 11:03:04 -0600 |
|---|---|---|
| committer | Ted Gould <ted@gould.cx> | 2011-03-10 11:03:04 -0600 |
| commit | cec350b1d24eeeb308fd02846bf637d4ec92fbb5 (patch) | |
| tree | 1feb2b5bf966ab936d3bfa0c8598ce50e3651612 /libdbusmenu-gtk/menuitem.c | |
| parent | a66d4b41bfd368a4ac3c25be748cf64203147007 (diff) | |
| parent | 5df1c8111987669e7f450141b50f056dc30cb4f9 (diff) | |
| download | libdbusmenu-cec350b1d24eeeb308fd02846bf637d4ec92fbb5.tar.gz libdbusmenu-cec350b1d24eeeb308fd02846bf637d4ec92fbb5.tar.bz2 libdbusmenu-cec350b1d24eeeb308fd02846bf637d4ec92fbb5.zip | |
Import upstream version 0.3.101
Diffstat (limited to 'libdbusmenu-gtk/menuitem.c')
| -rw-r--r-- | libdbusmenu-gtk/menuitem.c | 7 |
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; |
