> +                     g_free(base_b);
> +             }
> +
> +             g_free(dirname_b);
> +             ++pos;
> +     }
> +
> +     g_free(base_a);
> +     g_free(dirname_a);
> +     move_tab(doc, -1);
> +}
> +
> +
> +static void on_document_open(GObject *obj, GeanyDocument *doc)
> +{
> +     if (interface_prefs.show_notebook_tabs)

this most likely is a bad case of premature optimization.  Because it the user 
had the tabs hidden but sorting enabled, and shows the tabs, it won't be sorted 
as he probably would have expected.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1144/files/c064984ff29744294b7c25d2987c5b51f3c24405#r72889521

Reply via email to