This PR conditionally uses newer GLib API to get information about the OS and to print it in with the existing debug messages. I don't really have a preference on the formatting of the info, this PR is tested against own-built Geany on Ubuntu 20.04. You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/2498
-- Commit Summary --
* Show OS info in debug messages
-- File Changes --
M src/libmain.c (22)
-- Patch Links --
https://github.com/geany/geany/pull/2498.patch https://github.com/geany/geany/pull/2498.diff