[gtk+] cssprovider: Don't hardcode strings anymore



commit e1dda3d03f0f85da4887d5dd4a94761f93aac4d5
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 bd9f6c8..b65af8c 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]