cssinitialvalue: Make _compute public

So we can use it in cases where the class of css value is known to be an
initial one.
This commit is contained in:
Timm Bäder 2019-08-22 19:24:17 +02:00
parent 191e3bc7e1
commit 629f528f6d
2 changed files with 8 additions and 1 deletions

View File

@ -37,7 +37,7 @@ gtk_css_value_initial_free (GtkCssValue *value)
g_assert_not_reached ();
}
static GtkCssValue *
GtkCssValue *
gtk_css_value_initial_compute (GtkCssValue *value,
guint property_id,
GtkStyleProvider *provider,

View File

@ -27,6 +27,13 @@ G_BEGIN_DECLS
GtkCssValue * _gtk_css_initial_value_new (void);
GtkCssValue * _gtk_css_initial_value_get (void);
GtkCssValue * gtk_css_value_initial_compute (GtkCssValue *value,
guint property_id,
GtkStyleProvider *provider,
GtkCssStyle *style,
GtkCssStyle *parent_style);
G_END_DECLS
#endif /* __GTK_CSS_INITIAL_VALUE_PRIVATE_H__ */