stylecontext: Stop exporting _resolve_color

Only used in gtkstylecontext.c
This commit is contained in:
Timm Bäder 2019-08-23 17:09:54 +02:00
parent e0cf6e4775
commit 26aa620efe
2 changed files with 5 additions and 8 deletions

View File

@ -1327,10 +1327,10 @@ gtk_style_context_get_display (GtkStyleContext *context)
return priv->display; return priv->display;
} }
gboolean static gboolean
_gtk_style_context_resolve_color (GtkStyleContext *context, gtk_style_context_resolve_color (GtkStyleContext *context,
GtkCssValue *color, GtkCssValue *color,
GdkRGBA *result) GdkRGBA *result)
{ {
GtkStyleContextPrivate *priv = gtk_style_context_get_instance_private (context); GtkStyleContextPrivate *priv = gtk_style_context_get_instance_private (context);
GtkCssValue *val; GtkCssValue *val;
@ -1377,7 +1377,7 @@ gtk_style_context_lookup_color (GtkStyleContext *context,
if (value == NULL) if (value == NULL)
return FALSE; return FALSE;
return _gtk_style_context_resolve_color (context, value, color); return gtk_style_context_resolve_color (context, value, color);
} }
static GtkCssStyleChange magic_number; static GtkCssStyleChange magic_number;

View File

@ -57,9 +57,6 @@ void gtk_style_context_validate (GtkStyleContext *c
GtkCssStyleChange *change); GtkCssStyleChange *change);
gboolean _gtk_style_context_check_region_name (const gchar *str); gboolean _gtk_style_context_check_region_name (const gchar *str);
gboolean _gtk_style_context_resolve_color (GtkStyleContext *context,
GtkCssValue *color,
GdkRGBA *result);
void _gtk_style_context_get_cursor_color (GtkStyleContext *context, void _gtk_style_context_get_cursor_color (GtkStyleContext *context,
GdkRGBA *primary_color, GdkRGBA *primary_color,
GdkRGBA *secondary_color); GdkRGBA *secondary_color);