mirror of
https://github.com/brl/mutter.git
synced 2024-11-13 09:46:08 -05:00
Handle gconf errors better for string values in preferences.
This commit is contained in:
parent
f4ecc9bab8
commit
b0cc2a8614
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user