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:
69bd033
)
Rename shadowed variables
author
Christian Persch
<chpe@gnome.org>
Mon, 19 Apr 2010 13:46:32 +0000
(09:46 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 19 Apr 2010 13:46:32 +0000
(09:46 -0400)
Bug #616154.
gio/gsettings.c
patch
|
blob
|
history
diff --git
a/gio/gsettings.c
b/gio/gsettings.c
index
2cdb485
..
f2428f9
100644
(file)
--- a/
gio/gsettings.c
+++ b/
gio/gsettings.c
@@
-743,13
+743,13
@@
g_settings_get_value (GSettings *settings,
{
GVariantIter iter;
const gchar *key;
- GVariant *value;
+ GVariant *
option_
value;
g_variant_iter_init (&iter, options);
- while (g_variant_iter_loop (&iter, "{&sv}", &key, &value))
+ while (g_variant_iter_loop (&iter, "{&sv}", &key, &
option_
value))
{
if (strcmp (key, "l10n") == 0)
- g_variant_get (value, "(y&s)", &lc_char, &unparsed);
+ g_variant_get (
option_
value, "(y&s)", &lc_char, &unparsed);
else
g_warning ("unknown schema extension '%s'", key);
}