forked from AuroraMiddleware/gtk
cssprovider: Advance parser to start of declaration
This way, the block will reference the right location.
This commit is contained in:
parent
46143492a2
commit
085d34cbb0
@ -931,6 +931,8 @@ parse_declaration (GtkCssScanner *scanner,
|
|||||||
GtkStyleProperty *property;
|
GtkStyleProperty *property;
|
||||||
char *name;
|
char *name;
|
||||||
|
|
||||||
|
/* advance the location over whitespace */
|
||||||
|
gtk_css_parser_get_token (scanner->parser);
|
||||||
gtk_css_parser_start_semicolon_block (scanner->parser, GTK_CSS_TOKEN_EOF);
|
gtk_css_parser_start_semicolon_block (scanner->parser, GTK_CSS_TOKEN_EOF);
|
||||||
|
|
||||||
if (gtk_css_parser_has_token (scanner->parser, GTK_CSS_TOKEN_EOF))
|
if (gtk_css_parser_has_token (scanner->parser, GTK_CSS_TOKEN_EOF))
|
||||||
|
Loading…
Reference in New Issue
Block a user