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



commit 04a94dbb9907064af8670891e207d0e0ddaeccfd
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 7d8f94a..31fe565 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]