mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-24 21:16:15 +01:00
GSettings: More docs for deprecated _list_schemas()
Most _list_schemas() uses were to check for the availability of a particular schema. g_settings_schema_source_lookup() is a better way to do this. https://bugzilla.gnome.org/show_bug.cgi?id=712315
This commit is contained in:
parent
3309055878
commit
aef0adc0dd
@ -842,7 +842,10 @@ ensure_schema_lists (void)
|
||||
*
|
||||
* Since: 2.26
|
||||
*
|
||||
* Deprecated:2.40: Use g_settings_schema_source_list_schemas() instead
|
||||
* Deprecated:2.40: Use g_settings_schema_source_list_schemas() instead.
|
||||
* If you used g_settings_list_schemas() to check for the presence of
|
||||
* a particular schema, use g_settings_schema_source_lookup() instead
|
||||
* of your whole loop.
|
||||
**/
|
||||
const gchar * const *
|
||||
g_settings_list_schemas (void)
|
||||
|
Loading…
Reference in New Issue
Block a user