Rename shadowed variables

Bug #616154.
This commit is contained in:
Christian Persch 2010-04-19 09:46:32 -04:00 committed by Matthias Clasen
parent 69bd033e11
commit dd98785e85

View File

@ -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);
}