mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-28 00:16:15 +01:00
parent
69bd033e11
commit
dd98785e85
@ -743,13 +743,13 @@ g_settings_get_value (GSettings *settings,
|
|||||||
{
|
{
|
||||||
GVariantIter iter;
|
GVariantIter iter;
|
||||||
const gchar *key;
|
const gchar *key;
|
||||||
GVariant *value;
|
GVariant *option_value;
|
||||||
|
|
||||||
g_variant_iter_init (&iter, options);
|
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)
|
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
|
else
|
||||||
g_warning ("unknown schema extension '%s'", key);
|
g_warning ("unknown schema extension '%s'", key);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user