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:
b304869
)
GSettings: fix for loop in 'extends' functionality
author
Ryan Lortie
<desrt@desrt.ca>
Mon, 28 Oct 2013 19:10:13 +0000
(12:10 -0700)
committer
Ryan Lortie
<desrt@desrt.ca>
Mon, 28 Oct 2013 19:10:13 +0000
(12:10 -0700)
Obvious mistake :(
gio/gsettingsschema.c
patch
|
blob
|
history
diff --git
a/gio/gsettingsschema.c
b/gio/gsettingsschema.c
index
33ecd72
..
bdbb08d
100644
(file)
--- a/
gio/gsettingsschema.c
+++ b/
gio/gsettingsschema.c
@@
-941,8
+941,8
@@
g_settings_schema_get_value (GSettingsSchema *schema,
g_return_val_if_fail (schema != NULL, NULL);
- for (s = schema; s; s = s
chema
->extends)
- if ((value = gvdb_table_get_raw_value (s
chema
->table, key)))
+ for (s = schema; s; s = s->extends)
+ if ((value = gvdb_table_get_raw_value (s->table, key)))
break;
if G_UNLIKELY (value == NULL || !g_variant_is_of_type (value, G_VARIANT_TYPE_TUPLE))