diff options
Diffstat (limited to 'gtk/gtkstylecontext.c')
-rw-r--r-- | gtk/gtkstylecontext.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gtk/gtkstylecontext.c b/gtk/gtkstylecontext.c index 5fca489632..56b7982504 100644 --- a/gtk/gtkstylecontext.c +++ b/gtk/gtkstylecontext.c @@ -838,11 +838,7 @@ gtk_style_context_lookup_color (GtkStyleContext *context, g_return_val_if_fail (color_name != NULL, FALSE); g_return_val_if_fail (color != NULL, FALSE); - value = gtk_style_provider_get_color (GTK_STYLE_PROVIDER (priv->cascade), color_name); - if (value == NULL) - return FALSE; - - return gtk_style_context_resolve_color (context, value, color); + return FALSE; } /** |