[gtk+/wip/cssvalue: 127/141] shorthand: Add ', ' to value_is_done_parsing()



commit 814f58997d1c420dcc958feecae339c071e67c89
Author: Benjamin Otte <otte redhat com>
Date:   Wed Apr 4 19:02:18 2012 +0200

    shorthand: Add ',' to value_is_done_parsing()

 gtk/gtkcssshorthandpropertyimpl.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkcssshorthandpropertyimpl.c b/gtk/gtkcssshorthandpropertyimpl.c
index 03d84e8..99e2f2a 100644
--- a/gtk/gtkcssshorthandpropertyimpl.c
+++ b/gtk/gtkcssshorthandpropertyimpl.c
@@ -50,6 +50,7 @@ static gboolean
 value_is_done_parsing (GtkCssParser *parser)
 {
   return _gtk_css_parser_is_eof (parser) ||
+         _gtk_css_parser_begins_with (parser, ',') ||
          _gtk_css_parser_begins_with (parser, ';') ||
          _gtk_css_parser_begins_with (parser, '}');
 }



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