codebrainz commented on this pull request.
- theme_fn = g_build_filename(app->datadir, "geany.css", NULL);
+ load_css_theme(theme_fn, GTK_STYLE_PROVIDER_PRIORITY_APPLICATION); + g_free(theme_fn); + + // load themes to handle breakage between various GTK+ versions + const struct + { + guint min_version; + guint max_version; + const gchar *file; + } + css_files[] = + { + { 20, G_MAXUINT, "geany-3.20.css" }, + { 0, 19, "geany-3.0.css" }, + };
Not a particularly strong reason (other than avoiding `@import`ing files into each other). I was going to put it back exactly like before, but this seems just as flexible.