diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-11-06 10:28:02 +0100 |
---|---|---|
committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-11-06 10:28:02 +0100 |
commit | bb2f459b1207bc558ff264a82376a46fa7040e53 (patch) | |
tree | 7589718f55089fe49b0f1a71313fecd2d8c5d488 /src | |
parent | 0a01da426cd3151c45b2d5098bb98721355e475d (diff) | |
download | ayatana-ido-bb2f459b1207bc558ff264a82376a46fa7040e53.tar.gz ayatana-ido-bb2f459b1207bc558ff264a82376a46fa7040e53.tar.bz2 ayatana-ido-bb2f459b1207bc558ff264a82376a46fa7040e53.zip |
ido_user_menu_item: remove superfluous unref
The return value of g_file_icon_get_file() is transer-none.
Diffstat (limited to 'src')
-rw-r--r-- | src/idousermenuitem.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/idousermenuitem.c b/src/idousermenuitem.c index 387c851..8d8673e 100644 --- a/src/idousermenuitem.c +++ b/src/idousermenuitem.c @@ -305,7 +305,6 @@ ido_user_menu_item_set_icon_from_file_icon (IdoUserMenuItem *self, file = g_file_icon_get_file (G_FILE_ICON (icon)); path = g_file_get_path (file); - g_object_unref (file); /* width and height will always be set by this function */ gtk_icon_size_lookup_for_settings (gtk_widget_get_settings (GTK_WIDGET (self)), |