[gtk+] stylecontext: pass down the requested change type to invalidation



commit b80d935b950f6c3eec581f12674cbe5685a6b3ed
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]