[gtk+/parser: 65/74] cssprovider: Don't hardcode strings anymore



commit 4396f69fc4d91c3439360b449a783745d09f4dd7
Author: Benjamin Otte <otte redhat com>
Date:   Tue Apr 12 04:26:36 2011 +0200

    cssprovider: Don't hardcode strings anymore

 gtk/gtkcssprovider.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c
index d262532..f9a1f58 100644
--- a/gtk/gtkcssprovider.c
+++ b/gtk/gtkcssprovider.c
@@ -2539,11 +2539,6 @@ parse_rule (GtkCssProvider  *css_provider,
               resolve_binding_sets (value_str, val);
               g_hash_table_insert (priv->cur_properties, prop, val);
             }
-          else if (pspec->value_type == G_TYPE_STRING)
-            {
-              g_value_set_string (val, value_str);
-              g_hash_table_insert (priv->cur_properties, prop, val);
-            }
           else if (parse_func)
             {
               GError *error = NULL;



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