[gtk+] cssprovider: No need to restore after @import parsing



commit 2d75dd2fdfe96904e132c0886a53adfa3253497b
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 e13896e..4a3b833 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]