diff --git a/src/core/prefs.c b/src/core/prefs.c index 555483f09..6050f8c50 100644 --- a/src/core/prefs.c +++ b/src/core/prefs.c @@ -571,7 +571,13 @@ handle_preference_init_string (void) value = gconf_client_get_string (default_client, cursor->key, &error); - cleanup_error (&error); + + if (error || !value) + { + cleanup_error (&error); + ++cursor; + continue; + } if (cursor->handler) {