<p>In <a href="https://github.com/geany/geany/pull/994#discussion_r59690711">src/ui_utils.c</a>:</p>
<pre style='color:#555'>> @@ -2477,10 +2477,24 @@ void ui_init_builder(void)
>  static void init_custom_style(void)
>  {
>  #if GTK_CHECK_VERSION(3, 0, 0)
> -  gchar *css_file = g_build_filename(app->datadir, "geany.css", NULL);
> +  const struct {
> +          guint version;
> +          const gchar *file;
> +  } css_files[] = {
> +          { 20, "geany-3.20.css" },
> +          { 0, "geany-3.0.css" },
</pre>
<p>It might also be worth putting a comment on these initializers telling that they must be in descending order and that the one with 0 for the <code>version</code> must be last, as eluded to in the <code>while</code> loop comment below.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly or <a href="https://github.com/geany/geany/pull/994/files/ca8f6f2094cde6f238f37341df94c57ae065cb03#r59690711">view it on GitHub</a><img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJysEJF01YUe2iu9P1S0eTK8WyRg7ks5p3g9agaJpZM4IEajJ.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/pull/994/files/ca8f6f2094cde6f238f37341df94c57ae065cb03#r59690711"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>