csstransformvalue: Export is_none
We'll use it later in gtkwidget.c
This commit is contained in:
@@ -75,7 +75,6 @@ struct _GtkCssValue {
|
||||
};
|
||||
|
||||
static GtkCssValue * gtk_css_transform_value_alloc (guint n_values);
|
||||
static gboolean gtk_css_transform_value_is_none (const GtkCssValue *value);
|
||||
|
||||
static void
|
||||
gtk_css_transform_clear (GtkCssTransform *transform)
|
||||
@@ -733,7 +732,7 @@ _gtk_css_transform_value_new_none (void)
|
||||
return _gtk_css_value_ref (&none_singleton);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
gboolean
|
||||
gtk_css_transform_value_is_none (const GtkCssValue *value)
|
||||
{
|
||||
return value->n_transforms == 0;
|
||||
|
||||
@@ -27,6 +27,7 @@ G_BEGIN_DECLS
|
||||
|
||||
GtkCssValue * _gtk_css_transform_value_new_none (void);
|
||||
GtkCssValue * _gtk_css_transform_value_parse (GtkCssParser *parser);
|
||||
gboolean gtk_css_transform_value_is_none (const GtkCssValue *transform);
|
||||
|
||||
gboolean gtk_css_transform_value_get_matrix (const GtkCssValue *transform,
|
||||
graphene_matrix_t *matrix);
|
||||
|
||||
Reference in New Issue
Block a user