css provider: Remove outdated version check

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.
This commit is contained in:
Matthias Clasen
2019-05-08 14:33:23 +00:00
parent 8aaa8958c4
commit a86160265a

View File

@@ -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);