[Github-comments] [geany/geany] OS Info Improvements (#2618)
elextr
notifications at xxxxx
Sun Oct 11 10:54:35 UTC 2020
@elextr 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 */
when he hopes it will be merged :grin:
--
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#discussion_r502899188
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20201011/6620e46f/attachment-0001.htm>
More information about the Github-comments
mailing list