diff options
author | Benjamin Otte <otte@redhat.com> | 2020-01-28 17:49:37 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2020-01-28 17:57:59 +0100 |
commit | 65050a1c8112997d38283ca8f09e89801dacb498 (patch) | |
tree | 71c89b1346b3514282b65c7fe56533a4d81543ac /gtk/gtkcssprovider.c | |
parent | 17ca95a1617b009a76b27a8572671855435985e7 (diff) | |
download | gtk+-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.c | 3 |
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); |