Unref the icon_theme after using it.
2003-05-03 Kjartan Maraas <kmaraas@gnome.org> * theme-thumbnail.c: (create_image): Unref the icon_theme after using it.
This commit is contained in:
parent
b3ac06e5d1
commit
07514ea76c
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2003-05-03 Kjartan Maraas <kmaraas@gnome.org>
|
||||
|
||||
* theme-thumbnail.c: (create_image): Unref the
|
||||
icon_theme after using it.
|
||||
|
||||
2003-05-02 Kjartan Maraas <kmaraas@gnome.org>
|
||||
|
||||
* theme-properties.glade: Add a colon for consistency.
|
||||
|
|
|
@ -207,6 +207,8 @@ create_image (ThemeThumbnailData *theme_thumbnail_data,
|
|||
folder_icon_name = gnome_icon_theme_lookup_icon (icon_theme, "gnome-fs-directory", 48, NULL, NULL);
|
||||
}
|
||||
|
||||
g_object_unref (icon_theme);
|
||||
|
||||
if (folder_icon_name != NULL)
|
||||
{
|
||||
folder_icon = gdk_pixbuf_new_from_file (folder_icon_name, NULL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue