mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-20 14:00:10 +00:00
stylecontext: Use our own color resolve function
... instead of using the StyleProperties.
This commit is contained in:
parent
abcae0cea4
commit
f27f8db2d8
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user