[gtk+/parser: 36/74] cssprovider: No need to set user data anymore



commit 9c3e571a573f3275036d0897d8d600b119a4c682
Author: Benjamin Otte <otte redhat com>
Date:   Sun Apr 10 02:20:17 2011 +0200

    cssprovider: No need to set user data anymore

 gtk/gtkcssprovider.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c
index cacf89c..fe50bd1 100644
--- a/gtk/gtkcssprovider.c
+++ b/gtk/gtkcssprovider.c
@@ -1097,8 +1097,6 @@ gtk_css_provider_create_scanner (GtkCssProvider *provider)
 
   scanner = g_scanner_new (NULL);
 
-  scanner->user_data = provider;
-
   g_scanner_scope_add_symbol (scanner, SCOPE_PSEUDO_CLASS, "active", GUINT_TO_POINTER (GTK_STATE_ACTIVE));
   g_scanner_scope_add_symbol (scanner, SCOPE_PSEUDO_CLASS, "prelight", GUINT_TO_POINTER (GTK_STATE_PRELIGHT));
   g_scanner_scope_add_symbol (scanner, SCOPE_PSEUDO_CLASS, "hover", GUINT_TO_POINTER (GTK_STATE_PRELIGHT));



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