diff options
author | Benjamin Otte <otte@redhat.com> | 2015-07-07 17:51:31 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2015-07-08 05:48:59 +0200 |
commit | 7f8de66c0a85dcf114068348d728eeb3b67e8762 (patch) | |
tree | d86c2082f73795e6de004c53b5b8b832a53971ee /gtk/gtkcssstylepropertyimpl.c | |
parent | bdf0820c501437a2150d8ff0d5340246e713f73f (diff) | |
download | gtk+-7f8de66c0a85dcf114068348d728eeb3b67e8762.tar.gz |
css: text-decoration-style is not inherited
Diffstat (limited to 'gtk/gtkcssstylepropertyimpl.c')
-rw-r--r-- | gtk/gtkcssstylepropertyimpl.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gtk/gtkcssstylepropertyimpl.c b/gtk/gtkcssstylepropertyimpl.c index 7f2607bcfa..9dd95b3e69 100644 --- a/gtk/gtkcssstylepropertyimpl.c +++ b/gtk/gtkcssstylepropertyimpl.c @@ -1115,7 +1115,6 @@ _gtk_css_style_property_init_properties (void) NULL, NULL, _gtk_css_text_decoration_line_value_new (GTK_CSS_TEXT_DECORATION_LINE_NONE)); - gtk_css_style_property_register ("text-decoration-color", GTK_CSS_PROPERTY_TEXT_DECORATION_COLOR, G_TYPE_NONE, @@ -1125,11 +1124,10 @@ _gtk_css_style_property_init_properties (void) NULL, NULL, _gtk_css_color_value_new_current_color ()); - gtk_css_style_property_register ("text-decoration-style", GTK_CSS_PROPERTY_TEXT_DECORATION_STYLE, G_TYPE_NONE, - GTK_STYLE_PROPERTY_INHERIT, + 0, GTK_CSS_AFFECTS_TEXT | GTK_CSS_AFFECTS_TEXT_ATTRS, parse_text_decoration_style, NULL, |