summaryrefslogtreecommitdiff
path: root/gtk/gtkcssprovider.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2020-01-28 17:49:37 +0100
committerBenjamin Otte <otte@redhat.com>2020-01-28 17:57:59 +0100
commit65050a1c8112997d38283ca8f09e89801dacb498 (patch)
tree71c89b1346b3514282b65c7fe56533a4d81543ac /gtk/gtkcssprovider.c
parent17ca95a1617b009a76b27a8572671855435985e7 (diff)
downloadgtk+-65050a1c8112997d38283ca8f09e89801dacb498.tar.gz
css: Don't do the "all set" test
We have so many properties that it is basically impossible that all of them are set and the time spent checking is higher than the time saved if it does indeed happen.
Diffstat (limited to 'gtk/gtkcssprovider.c')
-rw-r--r--gtk/gtkcssprovider.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c
index 6db8d88ba6..e2388de1e1 100644
--- a/gtk/gtkcssprovider.c
+++ b/gtk/gtkcssprovider.c
@@ -489,9 +489,6 @@ gtk_css_style_provider_lookup (GtkStyleProvider *provider,
ruleset->styles[j].section,
ruleset->styles[j].value);
}
-
- if (_gtk_css_lookup_all_set (lookup))
- break;
}
g_ptr_array_free (tree_rules, TRUE);