Commit 06a8dd7c authored by Timm Bäder's avatar Timm Bäder 👎

css: Add transform style property

parent fc2ce9a3
......@@ -1601,6 +1601,14 @@ _gtk_css_style_property_init_properties (void)
transform_value_parse,
NULL,
_gtk_css_transform_value_new_none ());
gtk_css_style_property_register ("transform",
GTK_CSS_PROPERTY_TRANSFORM,
G_TYPE_NONE,
GTK_STYLE_PROPERTY_ANIMATED,
GTK_CSS_AFFECTS_SIZE,
transform_value_parse,
NULL,
_gtk_css_transform_value_new_none ());
gtk_css_style_property_register ("-gtk-icon-filter",
GTK_CSS_PROPERTY_ICON_FILTER,
G_TYPE_NONE,
......@@ -1609,7 +1617,6 @@ _gtk_css_style_property_init_properties (void)
filter_value_parse,
NULL,
gtk_css_filter_value_new_none ());
gtk_css_style_property_register ("border-spacing",
GTK_CSS_PROPERTY_BORDER_SPACING,
G_TYPE_NONE,
......
......@@ -220,6 +220,7 @@ enum { /*< skip >*/
GTK_CSS_PROPERTY_ICON_SHADOW,
GTK_CSS_PROPERTY_ICON_STYLE,
GTK_CSS_PROPERTY_ICON_TRANSFORM,
GTK_CSS_PROPERTY_TRANSFORM,
GTK_CSS_PROPERTY_ICON_FILTER,
GTK_CSS_PROPERTY_BORDER_SPACING,
GTK_CSS_PROPERTY_MIN_WIDTH,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment