mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-23 20:46:14 +01:00
GSettingsSchema: ignore empty schema caches
glib-compile-schemas used to generate these. They're harmless and they mean that no schemas are installed in a particular directory, so just ignore them. https://bugzilla.gnome.org/show_bug.cgi?id=656301
This commit is contained in:
parent
d8b295abb3
commit
c95e908529
@ -478,7 +478,9 @@ ensure_schema_lists (void)
|
||||
{
|
||||
list = gvdb_table_list (source->table, "");
|
||||
|
||||
g_assert (list != NULL);
|
||||
/* empty schema cache file? */
|
||||
if (list == NULL)
|
||||
continue;
|
||||
|
||||
for (i = 0; list[i]; i++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user