From c95e9085296a1c76124896bf6bedd772cdef4c5e Mon Sep 17 00:00:00 2001 From: Ryan Lortie Date: Wed, 18 Jan 2012 22:15:30 -0500 Subject: [PATCH] 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 --- gio/gsettingsschema.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gio/gsettingsschema.c b/gio/gsettingsschema.c index 1de7177..bdb9bab 100644 --- a/gio/gsettingsschema.c +++ b/gio/gsettingsschema.c @@ -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++) { -- 2.7.4