[gtk+] Fix a typo



commit 2603011ea06b657dfafc3b1f81b3a929e84b1281
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Apr 18 14:38:12 2016 -0400

    Fix a typo
    
    We don't want to parse a weight twice, but a weight and a stretch.

 gtk/gtkcssshorthandpropertyimpl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcssshorthandpropertyimpl.c b/gtk/gtkcssshorthandpropertyimpl.c
index 4886395..bd60587 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;
         }
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]