diff options
-rw-r--r-- | gsettings/gsettings-data-convert.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gsettings/gsettings-data-convert.c b/gsettings/gsettings-data-convert.c index a5183364..0164dca6 100644 --- a/gsettings/gsettings-data-convert.c +++ b/gsettings/gsettings-data-convert.c @@ -98,6 +98,13 @@ handle_file (const gchar *filename) for (j = 0; keys[j]; j++) { + if (strchr (keys[j], '/') != 0) + { + g_printerr ("Key '%s' contains a '/'\n", keys[j]); + + continue; + } + error = NULL; if ((gconf_key = g_key_file_get_string (keyfile, groups[i], keys[j], &error)) == NULL) { |