mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-27 07:56:14 +01:00
parent
69bd033e11
commit
dd98785e85
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user