forked from AuroraMiddleware/gtk
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.
This commit is contained in:
parent
1f65f1b746
commit
34c263683c
@ -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",
|
||||
|
@ -145,6 +145,7 @@ enum { /*< skip >*/
|
||||
GTK_CSS_PROPERTY_DPI,
|
||||
GTK_CSS_PROPERTY_FONT_SIZE,
|
||||
GTK_CSS_PROPERTY_ICON_THEME,
|
||||
GTK_CSS_PROPERTY_ICON_PALETTE,
|
||||
GTK_CSS_PROPERTY_BACKGROUND_COLOR,
|
||||
GTK_CSS_PROPERTY_FONT_FAMILY,
|
||||
GTK_CSS_PROPERTY_FONT_STYLE,
|
||||
@ -219,7 +220,6 @@ enum { /*< skip >*/
|
||||
GTK_CSS_PROPERTY_ANIMATION_FILL_MODE,
|
||||
GTK_CSS_PROPERTY_OPACITY,
|
||||
GTK_CSS_PROPERTY_ICON_EFFECT,
|
||||
GTK_CSS_PROPERTY_ICON_PALETTE,
|
||||
GTK_CSS_PROPERTY_ENGINE,
|
||||
GTK_CSS_PROPERTY_GTK_KEY_BINDINGS,
|
||||
GTK_CSS_PROPERTY_CARET_COLOR,
|
||||
|
Loading…
Reference in New Issue
Block a user