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



commit 0aabac3160199e74dc7b7be0235435eb3a827d93
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]