mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
gsettings: add g_settings_schema_key_get_name
https://bugzilla.gnome.org/show_bug.cgi?id=743517
This commit is contained in:
parent
f3c604d273
commit
d95bb1f08b
@ -2447,6 +2447,7 @@ g_settings_schema_key_get_range
|
|||||||
g_settings_schema_key_range_check
|
g_settings_schema_key_range_check
|
||||||
|
|
||||||
<SUBSECTION>
|
<SUBSECTION>
|
||||||
|
g_settings_schema_key_get_name
|
||||||
g_settings_schema_key_get_summary
|
g_settings_schema_key_get_summary
|
||||||
g_settings_schema_key_get_description
|
g_settings_schema_key_get_description
|
||||||
|
|
||||||
|
@ -1471,6 +1471,24 @@ g_settings_schema_get_key (GSettingsSchema *schema,
|
|||||||
return key;
|
return key;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* g_settings_schema_key_get_name:
|
||||||
|
* @key: a #GSettingsSchemaKey
|
||||||
|
*
|
||||||
|
* Gets the name of @key.
|
||||||
|
*
|
||||||
|
* Returns: the name of @key.
|
||||||
|
*
|
||||||
|
* Since: 2.44
|
||||||
|
*/
|
||||||
|
const gchar *
|
||||||
|
g_settings_schema_key_get_name (GSettingsSchemaKey *key)
|
||||||
|
{
|
||||||
|
g_return_val_if_fail (key != NULL, NULL);
|
||||||
|
|
||||||
|
return key->name;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* g_settings_schema_key_get_summary:
|
* g_settings_schema_key_get_summary:
|
||||||
* @key: a #GSettingsSchemaKey
|
* @key: a #GSettingsSchemaKey
|
||||||
|
@ -94,6 +94,8 @@ GLIB_AVAILABLE_IN_2_40
|
|||||||
gboolean g_settings_schema_key_range_check (GSettingsSchemaKey *key,
|
gboolean g_settings_schema_key_range_check (GSettingsSchemaKey *key,
|
||||||
GVariant *value);
|
GVariant *value);
|
||||||
|
|
||||||
|
GLIB_AVAILABLE_IN_2_44
|
||||||
|
const gchar * g_settings_schema_key_get_name (GSettingsSchemaKey *key);
|
||||||
GLIB_AVAILABLE_IN_2_40
|
GLIB_AVAILABLE_IN_2_40
|
||||||
const gchar * g_settings_schema_key_get_summary (GSettingsSchemaKey *key);
|
const gchar * g_settings_schema_key_get_summary (GSettingsSchemaKey *key);
|
||||||
GLIB_AVAILABLE_IN_2_40
|
GLIB_AVAILABLE_IN_2_40
|
||||||
|
Loading…
Reference in New Issue
Block a user