Handle gconf errors better for string values in preferences.

This commit is contained in:
Tomas Frydrych 2009-02-03 10:15:23 +00:00
parent 0fdb644454
commit 6da5a5abcb

View File

@ -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)
{