summaryrefslogtreecommitdiff
path: root/gtk/gtkcsspathnode.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2015-12-13 04:08:44 +0100
committerBenjamin Otte <otte@redhat.com>2015-12-13 04:11:58 +0100
commit5cbbc62026c412cb9e4c77db4e01f438c7de3fc7 (patch)
tree06bf494b2f9094f116ceba832db8728ec4e64307 /gtk/gtkcsspathnode.c
parentc219bdbecceeef7eeedb58ca026e0b89beccd4da (diff)
downloadgtk+-5cbbc62026c412cb9e4c77db4e01f438c7de3fc7.tar.gz
widget: Pass a GtkCssStyleChange instead of a bitmask
Diffstat (limited to 'gtk/gtkcsspathnode.c')
-rw-r--r--gtk/gtkcsspathnode.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/gtk/gtkcsspathnode.c b/gtk/gtkcsspathnode.c
index fecb4552a9..0f2d14adb3 100644
--- a/gtk/gtkcsspathnode.c
+++ b/gtk/gtkcsspathnode.c
@@ -41,18 +41,7 @@ gtk_css_path_node_invalidate (GtkCssNode *node)
GtkCssPathNode *path_node = GTK_CSS_PATH_NODE (node);
if (path_node->context)
- {
- GtkBitmask *changes;
-
- changes = _gtk_bitmask_new ();
- changes = _gtk_bitmask_invert_range (changes,
- 0,
- _gtk_css_style_property_get_n_properties ());
-
- gtk_style_context_validate (path_node->context, changes);
-
- _gtk_bitmask_free (changes);
- }
+ gtk_style_context_validate (path_node->context, NULL);
}
gboolean