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



commit 10f859dc41a00224908f967618ad5f22ff904fff
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 a43eae1..e82299b 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]