[gtk+] cssprovider: No need to set user data anymore
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] cssprovider: No need to set user data anymore
- Date: Wed, 18 May 2011 20:27:08 +0000 (UTC)
commit 318a3af96e2d1846c988c89fc299e0fd8d530fd8
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 8fb9f6e..0aeb37b 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]