diff options
author | Matthias Clasen <mclasen@redhat.com> | 2016-01-13 16:16:39 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2016-01-13 16:16:39 -0500 |
commit | 34c263683c1d6cb1d08f2fc9b7d3c66839c7b7db (patch) | |
tree | ba0942170e486870e0bd048adda4155910f25a01 /gtk/gtkcssstylepropertyimpl.c | |
parent | 1f65f1b746fb5948dc2ba29a3e281e9730f9d616 (diff) | |
download | gtk+-34c263683c1d6cb1d08f2fc9b7d3c66839c7b7db.tar.gz |
Move the -gtk-icon-palette property up
Other properties will start depending on it in subsequent
commits, so move it up to prevent ordering problems.
Diffstat (limited to 'gtk/gtkcssstylepropertyimpl.c')
-rw-r--r-- | gtk/gtkcssstylepropertyimpl.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/gtk/gtkcssstylepropertyimpl.c b/gtk/gtkcssstylepropertyimpl.c index fa86507aaa..8cb51dda49 100644 --- a/gtk/gtkcssstylepropertyimpl.c +++ b/gtk/gtkcssstylepropertyimpl.c @@ -1052,6 +1052,16 @@ _gtk_css_style_property_init_properties (void) NULL, NULL, gtk_css_icon_theme_value_new (NULL)); + gtk_css_style_property_register ("-gtk-icon-palette", + GTK_CSS_PROPERTY_ICON_PALETTE, + G_TYPE_NONE, + GTK_STYLE_PROPERTY_ANIMATED | GTK_STYLE_PROPERTY_INHERIT, + GTK_CSS_AFFECTS_ICON, + icon_palette_parse, + NULL, + NULL, + gtk_css_palette_value_new_default ()); + /* properties that aren't referenced when computing values * start here */ @@ -1767,16 +1777,6 @@ _gtk_css_style_property_init_properties (void) NULL, NULL, _gtk_css_icon_effect_value_new (GTK_CSS_ICON_EFFECT_NONE)); - gtk_css_style_property_register ("-gtk-icon-palette", - GTK_CSS_PROPERTY_ICON_PALETTE, - G_TYPE_NONE, - GTK_STYLE_PROPERTY_ANIMATED | GTK_STYLE_PROPERTY_INHERIT, - GTK_CSS_AFFECTS_ICON, - icon_palette_parse, - NULL, - NULL, - gtk_css_palette_value_new_default ()); - G_GNUC_BEGIN_IGNORE_DEPRECATIONS gtk_css_style_property_register ("engine", |