projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8b295a
)
GSettingsSchema: ignore empty schema caches
author
Ryan Lortie
<desrt@desrt.ca>
Thu, 19 Jan 2012 03:15:30 +0000
(22:15 -0500)
committer
Ryan Lortie
<desrt@desrt.ca>
Thu, 19 Jan 2012 03:16:23 +0000
(22:16 -0500)
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
patch
|
blob
|
history
diff --git
a/gio/gsettingsschema.c
b/gio/gsettingsschema.c
index
1de7177
..
bdb9bab
100644
(file)
--- 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++)
{