mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 23:16:14 +01:00
Fix redefinition of local variable in gio/gsettings.c
This commit is contained in:
parent
e0ccf08284
commit
37ca061e40
@ -406,12 +406,12 @@ g_settings_real_writable_change_event (GSettings *settings,
|
||||
|
||||
for (i = 0; i < n_keys; i++)
|
||||
{
|
||||
const gchar *key = g_quark_to_string (keys[i]);
|
||||
const gchar *key_name = g_quark_to_string (keys[i]);
|
||||
|
||||
if (g_str_has_suffix (key, "/"))
|
||||
if (g_str_has_suffix (key_name, "/"))
|
||||
continue;
|
||||
|
||||
g_signal_emit (settings, g_settings_signals[SIGNAL_WRITABLE_CHANGED], keys[i], key);
|
||||
g_signal_emit (settings, g_settings_signals[SIGNAL_WRITABLE_CHANGED], keys[i], key_name);
|
||||
}
|
||||
|
||||
return FALSE;
|
||||
|
Loading…
Reference in New Issue
Block a user