[gtk+] stylecontext: Use our own color resolve function



commit f27f8db2d8358027977d1a60a20ff498df6c73b5
Author: Benjamin Otte <otte redhat com>
Date:   Wed Jan 11 03:04:00 2012 +0100

    stylecontext: Use our own color resolve function
    
    ... instead of using the StyleProperties.

 gtk/gtkstylecontext.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkstylecontext.c b/gtk/gtkstylecontext.c
index 5f7d644..0b25a32 100644
--- a/gtk/gtkstylecontext.c
+++ b/gtk/gtkstylecontext.c
@@ -2391,7 +2391,7 @@ _gtk_style_context_peek_style_property (GtkStyleContext *context,
                   else
                     g_value_init (&pcache->value, GDK_TYPE_COLOR);
 
-                  if (gtk_symbolic_color_resolve (color, data->store, &rgba))
+                  if (_gtk_style_context_resolve_color (context, color, &rgba))
                     {
                       if (G_PARAM_SPEC_VALUE_TYPE (pspec) == GDK_TYPE_RGBA)
                         g_value_set_boxed (&pcache->value, &rgba);



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