Slightly related is this Gist I made for someone last year who just wanted documents to remain sorted by basename: https://gist.github.com/codebrainz/3824677
I've been wondering how to use a custom struct to hold document or tab info, and also how to use `g_slice_alloc()`. Your example demonstrates it well. I thought about using a custom list before, but the solution I was working on turned out be not the proper one. Still, I could use your code as a reference someday. I'll also refer to it if I convert this feature to a plugin.
--- 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#issuecomment-235597792