Merge branch '2425-settings-schema-range-check' into 'main'

gsettingsschema: Fix docs for g_settings_schema_key_range_check()

Closes #2425

See merge request GNOME/glib!2160
This commit is contained in:
Emmanuele Bassi 2021-09-07 10:59:09 +00:00
commit 21a27f4eb7

View File

@ -1857,10 +1857,10 @@ g_settings_schema_key_get_range (GSettingsSchemaKey *key)
* @key: a #GSettingsSchemaKey * @key: a #GSettingsSchemaKey
* @value: the value to check * @value: the value to check
* *
* Checks if the given @value is of the correct type and within the * Checks if the given @value is within the
* permitted range for @key. * permitted range for @key.
* *
* It is a programmer error if @value is not of the correct type -- you * It is a programmer error if @value is not of the correct type you
* must check for this first. * must check for this first.
* *
* Returns: %TRUE if @value is valid for @key * Returns: %TRUE if @value is valid for @key