[gtk/wip/baedert/transforms6: 16/18] csstransformvalue: Export is_none
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/transforms6: 16/18] csstransformvalue: Export is_none
- Date: Sat, 19 Jan 2019 12:41:02 +0000 (UTC)
commit 5edf89b1309d9602ea9b676d43d5fb93f16c7d6a
Author: Timm Bäder <mail baedert org>
Date: Sat Jan 19 09:03:00 2019 +0100
csstransformvalue: Export is_none
We'll use it later in gtkwidget.c
gtk/gtkcsstransformvalue.c | 3 +--
gtk/gtkcsstransformvalueprivate.h | 1 +
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkcsstransformvalue.c b/gtk/gtkcsstransformvalue.c
index 7ce4102920..dcf0da5a6a 100644
--- a/gtk/gtkcsstransformvalue.c
+++ b/gtk/gtkcsstransformvalue.c
@@ -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;
diff --git a/gtk/gtkcsstransformvalueprivate.h b/gtk/gtkcsstransformvalueprivate.h
index 00a8f8563e..398039d7ea 100644
--- a/gtk/gtkcsstransformvalueprivate.h
+++ b/gtk/gtkcsstransformvalueprivate.h
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]