[gtk+/gtk-style-context: 407/490] GtkStyleContext: preserve state on save().



commit 2592bf58318fb42dba78c12fb138421ab948335d
Author: Carlos Garnacho <carlosg gnome org>
Date:   Fri Nov 19 18:53:34 2010 +0100

    GtkStyleContext: preserve state on save().

 gtk/gtkstylecontext.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkstylecontext.c b/gtk/gtkstylecontext.c
index 48c2373..e880c82 100644
--- a/gtk/gtkstylecontext.c
+++ b/gtk/gtkstylecontext.c
@@ -369,6 +369,7 @@ style_info_copy (const GtkStyleInfo *info)
                        info->regions->len);
 
   copy->junction_sides = info->junction_sides;
+  copy->state_flags = info->state_flags;
 
   return copy;
 }



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