[gtk+] GtkIconInfo: Small struct packing improvement



commit acb276c644f2cf7c6a025ce1fa8243194d6143dc
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Jun 22 11:01:43 2014 -0400

    GtkIconInfo: Small struct packing improvement
    
    This makes the GtkIconInfo struct a bit smaller.

 gtk/gtkicontheme.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c
index 1ea892e..da5a827 100644
--- a/gtk/gtkicontheme.c
+++ b/gtk/gtkicontheme.c
@@ -244,7 +244,6 @@ struct _GtkIconInfo
   gint dir_scale;
   gint min_size;
   gint max_size;
-  gdouble unscaled_scale;
 
   /* Parameters influencing the scaled icon
    */
@@ -261,6 +260,7 @@ struct _GtkIconInfo
   GdkPixbuf *pixbuf;
   GdkPixbuf *proxy_pixbuf;
   GError *load_error;
+  gdouble unscaled_scale;
   gdouble scale;
 
   SymbolicPixbufCache *symbolic_pixbuf_cache;


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