diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-10-28 10:12:52 -0700 |
---|---|---|
committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-10-28 10:12:52 -0700 |
commit | a2e6b66a3ff0a3001c4ba307a2489afea5a09a1d (patch) | |
tree | 92a3c773fe33b2a28ab328d171f36d975990392a /src | |
parent | 0e079e89a79dcceb2960e8c37ba958910b520c9e (diff) | |
download | ayatana-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')
-rw-r--r-- | src/idousermenuitem.c | 1 |
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, |