aboutsummaryrefslogtreecommitdiff
path: root/src/idousermenuitem.c
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2013-10-28 10:12:52 -0700
committerLars Uebernickel <lars.uebernickel@canonical.com>2013-10-28 10:12:52 -0700
commita2e6b66a3ff0a3001c4ba307a2489afea5a09a1d (patch)
tree92a3c773fe33b2a28ab328d171f36d975990392a /src/idousermenuitem.c
parent0e079e89a79dcceb2960e8c37ba958910b520c9e (diff)
downloadayatana-ido-a2e6b66a3ff0a3001c4ba307a2489afea5a09a1d.tar.gz
ayatana-ido-a2e6b66a3ff0a3001c4ba307a2489afea5a09a1d.tar.bz2
ayatana-ido-a2e6b66a3ff0a3001c4ba307a2489afea5a09a1d.zip
ido_user_menu_item_set_icon_from_file_icon: free file
Diffstat (limited to 'src/idousermenuitem.c')
-rw-r--r--src/idousermenuitem.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/idousermenuitem.c b/src/idousermenuitem.c
index d6df01e..4a67e8d 100644
--- a/src/idousermenuitem.c
+++ b/src/idousermenuitem.c
@@ -305,6 +305,7 @@ 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);
gtk_icon_size_lookup_for_settings (gtk_widget_get_settings (GTK_WIDGET (self)),
GTK_ICON_SIZE_MENU,