mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-29 20:34:11 +02:00
gutils: Add g_get_os_info()
Add a new function that gets OS information for /etc/os-release.
This commit is contained in:
@@ -2086,6 +2086,20 @@ g_get_user_special_dir
|
||||
g_get_system_data_dirs
|
||||
g_get_system_config_dirs
|
||||
g_reload_user_special_dirs_cache
|
||||
g_get_os_info
|
||||
|
||||
<SUBSECTION>
|
||||
G_OS_INFO_KEY_NAME
|
||||
G_OS_INFO_KEY_PRETTY_NAME
|
||||
G_OS_INFO_KEY_VERSION
|
||||
G_OS_INFO_KEY_VERSION_CODENAME
|
||||
G_OS_INFO_KEY_VERSION_ID
|
||||
G_OS_INFO_KEY_ID
|
||||
G_OS_INFO_KEY_HOME_URL
|
||||
G_OS_INFO_KEY_DOCUMENTATION_URL
|
||||
G_OS_INFO_KEY_SUPPORT_URL
|
||||
G_OS_INFO_KEY_BUG_REPORT_URL
|
||||
G_OS_INFO_KEY_PRIVACY_POLICY_URL
|
||||
|
||||
<SUBSECTION>
|
||||
g_get_host_name
|
||||
|
Reference in New Issue
Block a user