[gtk+/composite-templates] stylecontext: pass down the requested change type to invalidation



commit 8bd3a473211144726252213f536aac90b4d10cc6
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Tue Jun 12 15:04:52 2012 -0400

    stylecontext: pass down the requested change type to invalidation
    
    <Company>: cosimoc: yes, that totally makes sense
    <Company>: looks like a copy/paste error from when i factored out that
               function

 gtk/gtkstylecontext.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkstylecontext.c b/gtk/gtkstylecontext.c
index 04f6461..7fd5df3 100644
--- a/gtk/gtkstylecontext.c
+++ b/gtk/gtkstylecontext.c
@@ -1054,7 +1054,7 @@ gtk_style_context_queue_invalidate_internal (GtkStyleContext *context,
     }
   else
     {
-      _gtk_style_context_queue_invalidate (context, GTK_CSS_CHANGE_STATE);
+      _gtk_style_context_queue_invalidate (context, change);
       /* XXX: We need to invalidate siblings here somehow */
     }
 }



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