summaryrefslogtreecommitdiff
path: root/gtk/gtkcssstylepropertyimpl.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2014-06-15 16:05:16 +0200
committerBenjamin Otte <otte@redhat.com>2014-08-16 19:39:44 +0200
commitb59e6f1948bda1245840cecfc2df115cd582cdcd (patch)
tree47310727d8852cfe5593a2c7c6a88df9577f774b /gtk/gtkcssstylepropertyimpl.c
parent9ca04c0f9d22d38183cf4384ea8774e3f6daf9ea (diff)
downloadgtk+-b59e6f1948bda1245840cecfc2df115cd582cdcd.tar.gz
themingengine: Deprecate
Diffstat (limited to 'gtk/gtkcssstylepropertyimpl.c')
-rw-r--r--gtk/gtkcssstylepropertyimpl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkcssstylepropertyimpl.c b/gtk/gtkcssstylepropertyimpl.c
index 442c2b42fa..27e77dbc6c 100644
--- a/gtk/gtkcssstylepropertyimpl.c
+++ b/gtk/gtkcssstylepropertyimpl.c
@@ -830,8 +830,10 @@ engine_query (GtkCssStyleProperty *property,
const GtkCssValue *css_value,
GValue *value)
{
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
g_value_init (value, GTK_TYPE_THEMING_ENGINE);
g_value_set_object (value, _gtk_css_engine_value_get_engine (css_value));
+G_GNUC_END_IGNORE_DEPRECATIONS
}
static GtkCssValue *
@@ -1507,6 +1509,7 @@ _gtk_css_style_property_init_properties (void)
NULL,
_gtk_css_image_effect_value_new (GTK_CSS_IMAGE_EFFECT_NONE));
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
gtk_css_style_property_register ("engine",
GTK_CSS_PROPERTY_ENGINE,
GTK_TYPE_THEMING_ENGINE,
@@ -1515,6 +1518,7 @@ _gtk_css_style_property_init_properties (void)
engine_query,
engine_assign,
_gtk_css_engine_value_new (gtk_theming_engine_load (NULL)));
+G_GNUC_END_IGNORE_DEPRECATIONS
/* Private property holding the binding sets */
gtk_css_style_property_register ("gtk-key-bindings",