[gtk+/wip/cssvalue: 123/142] shorthand: Add ', ' to value_is_done_parsing()
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/cssvalue: 123/142] shorthand: Add ', ' to value_is_done_parsing()
- Date: Sat, 7 Apr 2012 19:56:41 +0000 (UTC)
commit 9ce6974f2ad9324d2f5f7c9687b083da61a82192
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]