projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8aaa895
)
css provider: Remove outdated version check
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 8 May 2019 14:33:23 +0000
(14:33 +0000)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 8 May 2019 14:33:23 +0000
(14:33 +0000)
When looking for versioned theme files, we were
looking for directories names gtk-4.x for x
bigger than 14, which mades sense for GTK 3,
but we are starting out at 0 again, so remove
this check.
gtk/gtkcssprovider.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcssprovider.c
b/gtk/gtkcssprovider.c
index 50a7bf80a4d59e907268084f664f4b304e12a9a1..62f1759875cda3a1cf55c2719e58200a4c6b1cb6 100644
(file)
--- a/
gtk/gtkcssprovider.c
+++ b/
gtk/gtkcssprovider.c
@@
-1283,9
+1283,6
@@
_gtk_css_find_theme_dir (const gchar *dir,
for (i = MINOR; i >= 0; i = i - 2)
{
- if (i < 14)
- i = 0;
-
subsubdir = g_strdup_printf ("gtk-4.%d", i);
path = g_build_filename (base, subsubdir, file, NULL);
g_free (subsubdir);