[Github-comments] [geany/geany] OS Info Improvements (#2618)
Enrico Tröger
notifications at xxxxx
Sun Oct 11 10:00:53 UTC 2020
@eht16 commented on this pull request.
> +
+ os_str = g_string_new(pretty_name);
+ g_free(pretty_name);
+
+ code_name = g_get_os_info(G_OS_INFO_KEY_VERSION_CODENAME);
+ if (code_name != NULL)
+ {
+ g_string_append_printf(os_str, " (%s)", code_name);
+ g_free(code_name);
+ }
+
+ os_info = g_string_free(os_str, FALSE);
+ }
+# else
+ /* on macOS, only `G_OS_INFO_KEY_NAME` is supported and returns the
+ * fixed string `macOS`, as of Oct 13, 2020 */
Is your timezone +48:00? :smile:
--
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/2618#pullrequestreview-506163361
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20201011/73392f8b/attachment.htm>
More information about the Github-comments
mailing list