From bb2f459b1207bc558ff264a82376a46fa7040e53 Mon Sep 17 00:00:00 2001 From: Lars Uebernickel Date: Wed, 6 Nov 2013 10:28:02 +0100 Subject: ido_user_menu_item: remove superfluous unref The return value of g_file_icon_get_file() is transer-none. --- src/idousermenuitem.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/idousermenuitem.c') 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)), -- cgit v1.2.3