diff options
author | Matthias Clasen <mclasen@redhat.com> | 2017-09-18 18:10:08 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2017-09-18 18:10:08 -0400 |
commit | f87dc24867dd54b28d5368925d11203baefd5fb8 (patch) | |
tree | 33a914c97851f2d3237ef605531b344ba717b0d8 /gtk/gtkcssstyle.c | |
parent | 92398bb1bbae85ead39e9579b09f86649df7aeb1 (diff) | |
download | gtk+-f87dc24867dd54b28d5368925d11203baefd5fb8.tar.gz |
Fix a typo
The property is called font-variant-alternates, not -alternatives.
Correct this everywhere.
Diffstat (limited to 'gtk/gtkcssstyle.c')
-rw-r--r-- | gtk/gtkcssstyle.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkcssstyle.c b/gtk/gtkcssstyle.c index f6eaa35764..245d48a428 100644 --- a/gtk/gtkcssstyle.c +++ b/gtk/gtkcssstyle.c @@ -230,7 +230,7 @@ gtk_css_style_get_pango_attributes (GtkCssStyle *style) GtkCssValue *position; GtkCssValue *caps; GtkCssValue *numeric; - GtkCssValue *alternatives; + GtkCssValue *alternates; GtkCssValue *east_asian; GString *s; int i; @@ -371,10 +371,10 @@ gtk_css_style_get_pango_attributes (GtkCssStyle *style) g_string_append (s, "zero 1"); } - alternatives = gtk_css_style_get_value (style, GTK_CSS_PROPERTY_FONT_VARIANT_ALTERNATIVES); - for (i = 0; i < _gtk_css_array_value_get_n_values (alternatives); i++) + alternates = gtk_css_style_get_value (style, GTK_CSS_PROPERTY_FONT_VARIANT_ALTERNATES); + for (i = 0; i < _gtk_css_array_value_get_n_values (alternates); i++) { - GtkCssValue *value = _gtk_css_array_value_get_nth (alternatives, i); + GtkCssValue *value = _gtk_css_array_value_get_nth (alternates, i); if (s->len > 0) g_string_append (s, ", "); if (strcmp (_gtk_css_ident_value_get (value), "historical-forms") == 0) g_string_append (s, "hist 1"); |