[gtk+/wip/css: 22/154] cssprovider: Remove has_inherit flag from rulesets
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/css: 22/154] cssprovider: Remove has_inherit flag from rulesets
- Date: Sat, 7 Jan 2012 02:22:57 +0000 (UTC)
commit 261fe1935fa266c72ed00ab679a3de075bbb3740
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]