[gtk+/parser: 45/74] cssprovider: No need to restore after @import parsing



commit b25d11d1fdd9a7da155ffd19d234a2232c506b28
Author: Benjamin Otte <otte redhat com>
Date:   Mon Apr 11 01:33:26 2011 +0200

    cssprovider: No need to restore after @import parsing
    
    With the recent changes, this just resets the error, and we don't the
    error reset from subfile parsing.

 gtk/gtkcssprovider.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c
index 1953814..03d5cd1 100644
--- a/gtk/gtkcssprovider.c
+++ b/gtk/gtkcssprovider.c
@@ -2272,7 +2272,6 @@ parse_rule (GtkCssProvider  *css_provider,
                                                              FALSE, NULL);
 
           /* Restore previous state */
-          css_provider_reset_parser (css_provider);
           gtk_css_scanner_destroy (new_scanner);
           css_provider->priv->scanner = scanner;
 



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