mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-14 20:51:07 +00:00
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:
parent
191e3bc7e1
commit
629f528f6d
@ -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,
|
||||
|
@ -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__ */
|
||||
|
Loading…
Reference in New Issue
Block a user