summaryrefslogtreecommitdiff
path: root/gtk/gtkcssshorthandpropertyimpl.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2016-04-18 14:38:12 -0400
committerMatthias Clasen <mclasen@redhat.com>2016-04-18 14:38:12 -0400
commit2603011ea06b657dfafc3b1f81b3a929e84b1281 (patch)
treec3bb9128c1eba33fe9a4722a35548727a158d134 /gtk/gtkcssshorthandpropertyimpl.c
parent492a406bbd971f68b596324ddd2b61dacd6ac2dc (diff)
downloadgtk+-2603011ea06b657dfafc3b1f81b3a929e84b1281.tar.gz
Fix a typo
We don't want to parse a weight twice, but a weight and a stretch.
Diffstat (limited to 'gtk/gtkcssshorthandpropertyimpl.c')
-rw-r--r--gtk/gtkcssshorthandpropertyimpl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcssshorthandpropertyimpl.c b/gtk/gtkcssshorthandpropertyimpl.c
index 4886395ee8..bd60587277 100644
--- a/gtk/gtkcssshorthandpropertyimpl.c
+++ b/gtk/gtkcssshorthandpropertyimpl.c
@@ -503,7 +503,7 @@ parse_font (GtkCssShorthandProperty *shorthand,
if (values[4] == NULL)
{
- values[4] = _gtk_css_font_weight_value_try_parse (parser);
+ values[4] = _gtk_css_font_stretch_value_try_parse (parser);
parsed_one = parsed_one || values[4] != NULL;
}
}