]> Pileus Git - ~andy/gtk/commitdiff
GtkStyleContext: preserve state on save().
authorCarlos Garnacho <carlosg@gnome.org>
Fri, 19 Nov 2010 17:53:34 +0000 (18:53 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Sat, 4 Dec 2010 14:39:18 +0000 (15:39 +0100)
gtk/gtkstylecontext.c

index 48c2373f39134eb2174d149ce99cf4f08827a15a..e880c8294fbf5a255fb0ceb6b7b402eca5add61d 100644 (file)
@@ -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;
 }