aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2013-11-06 09:53:02 +0000
committerTarmac <Unknown>2013-11-06 09:53:02 +0000
commit48b2262e280afd5f028b2f8fa34810dc47cbeffc (patch)
tree7589718f55089fe49b0f1a71313fecd2d8c5d488
parent0a01da426cd3151c45b2d5098bb98721355e475d (diff)
parentbb2f459b1207bc558ff264a82376a46fa7040e53 (diff)
downloadayatana-ido-48b2262e280afd5f028b2f8fa34810dc47cbeffc.tar.gz
ayatana-ido-48b2262e280afd5f028b2f8fa34810dc47cbeffc.tar.bz2
ayatana-ido-48b2262e280afd5f028b2f8fa34810dc47cbeffc.zip
ido_user_menu_item: remove superfluous unref
The return value of g_file_icon_get_file() is transfer-none. Fixes: https://bugs.launchpad.net/bugs/1248446. Approved by PS Jenkins bot, Sebastien Bacher.
-rw-r--r--src/idousermenuitem.c1
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)),