[gtk+/wip/css: 22/135] cssprovider: Remove has_inherit flag from rulesets



commit 1b8fd69080f537d67487f6355f25e5ce0c2f1538
Author: Benjamin Otte <otte redhat com>
Date:   Thu Dec 29 14:20:43 2011 +0100

    cssprovider: Remove has_inherit flag from rulesets
    
    It's not used anymore

 gtk/gtkcssprovider.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c
index 37d3925..405a2c9 100644
--- a/gtk/gtkcssprovider.c
+++ b/gtk/gtkcssprovider.c
@@ -963,8 +963,6 @@ struct GtkCssRuleset
   GHashTable *widget_style;
   GHashTable *style;
   GtkBitmask *set_styles;
-
-  guint has_inherit :1;
 };
 
 struct _GtkCssScanner
@@ -1214,7 +1212,6 @@ gtk_css_ruleset_add (GtkCssRuleset          *ruleset,
     }
 
   _gtk_bitmask_set (ruleset->set_styles, _gtk_style_property_get_id (prop), TRUE);
-  ruleset->has_inherit |= _gtk_style_property_is_inherit (prop);
   g_hash_table_insert (ruleset->style, (gpointer) prop, value);
 }
 



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