[gnome-photos] base-item: Don't unref the default theme



commit eb087a998679906d46e067fb4d16dfaa199b6c7a
Author: Debarshi Ray <debarshir gnome org>
Date:   Wed Aug 15 02:28:05 2012 +0200

    base-item: Don't unref the default theme

 src/photos-base-item.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/photos-base-item.c b/src/photos-base-item.c
index 36164e4..589e953 100644
--- a/src/photos-base-item.c
+++ b/src/photos-base-item.c
@@ -138,7 +138,6 @@ photos_base_item_check_effects_and_update_info (PhotosBaseItem *self)
       size = (width > height) ? width : height;
 
       icon_info = gtk_icon_theme_lookup_by_gicon (theme, emblemed_icon, size, GTK_ICON_LOOKUP_FORCE_SIZE);
-      g_object_unref (theme);
 
       if (icon_info != NULL)
         {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]