[gtk+] GtkIconTheme: Drop an unused variable



commit 6cc32c24be5db07d9a26b953401d955e2e62025c
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Jun 20 15:52:48 2014 -0400

    GtkIconTheme: Drop an unused variable
    
    We no longer need a separate field for symbolic icon size,
    now that we are using the directory size.

 gtk/gtkicontheme.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c
index 3e921e8..013275a 100644
--- a/gtk/gtkicontheme.c
+++ b/gtk/gtkicontheme.c
@@ -264,8 +264,6 @@ struct _GtkIconInfo
   gdouble scale;
 
   SymbolicPixbufCache *symbolic_pixbuf_cache;
-
-  GtkRequisition *symbolic_pixbuf_size;
 };
 
 typedef struct
@@ -3429,7 +3427,6 @@ gtk_icon_info_finalize (GObject *object)
   g_clear_object (&icon_info->proxy_pixbuf);
   g_clear_object (&icon_info->cache_pixbuf);
   g_clear_error (&icon_info->load_error);
-  g_clear_pointer (&icon_info->symbolic_pixbuf_size, gtk_requisition_free);
 
   symbolic_pixbuf_cache_free (icon_info->symbolic_pixbuf_cache);
 


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