mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-27 22:46:15 +01:00
Fail in a clean way if schema name is missing
https://bugzilla.gnome.org/show_bug.cgi?id=640192
This commit is contained in:
parent
d8ca640422
commit
4a8d9b68e3
@ -267,6 +267,8 @@ g_settings_schema_new (const gchar *name)
|
||||
GvdbTable *table = NULL;
|
||||
GSList *source;
|
||||
|
||||
g_return_val_if_fail (name != NULL, NULL);
|
||||
|
||||
initialise_schema_sources ();
|
||||
|
||||
for (source = schema_sources; source; source = source->next)
|
||||
|
Loading…
Reference in New Issue
Block a user