forked from AuroraMiddleware/gtk
stylecontext: Stop exporting _resolve_color
Only used in gtkstylecontext.c
This commit is contained in:
parent
e0cf6e4775
commit
26aa620efe
@ -1327,10 +1327,10 @@ gtk_style_context_get_display (GtkStyleContext *context)
|
||||
return priv->display;
|
||||
}
|
||||
|
||||
gboolean
|
||||
_gtk_style_context_resolve_color (GtkStyleContext *context,
|
||||
GtkCssValue *color,
|
||||
GdkRGBA *result)
|
||||
static gboolean
|
||||
gtk_style_context_resolve_color (GtkStyleContext *context,
|
||||
GtkCssValue *color,
|
||||
GdkRGBA *result)
|
||||
{
|
||||
GtkStyleContextPrivate *priv = gtk_style_context_get_instance_private (context);
|
||||
GtkCssValue *val;
|
||||
@ -1377,7 +1377,7 @@ gtk_style_context_lookup_color (GtkStyleContext *context,
|
||||
if (value == NULL)
|
||||
return FALSE;
|
||||
|
||||
return _gtk_style_context_resolve_color (context, value, color);
|
||||
return gtk_style_context_resolve_color (context, value, color);
|
||||
}
|
||||
|
||||
static GtkCssStyleChange magic_number;
|
||||
|
@ -57,9 +57,6 @@ void gtk_style_context_validate (GtkStyleContext *c
|
||||
GtkCssStyleChange *change);
|
||||
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,
|
||||
GdkRGBA *primary_color,
|
||||
GdkRGBA *secondary_color);
|
||||
|
Loading…
Reference in New Issue
Block a user