universal-access: Avoid crashing when GConf is broken
Or when metacity is badly installed. gconf_value_get_string() _can_ return NULL. https://bugzilla.redhat.com/show_bug.cgi?id=751007
This commit is contained in:
parent
ab33ef40dc
commit
1ce466f80b
1 changed files with 1 additions and 1 deletions
|
@ -574,7 +574,7 @@ visual_bell_type_notify_cb (GConfClient *client,
|
||||||
|
|
||||||
value = gconf_value_get_string (entry->value);
|
value = gconf_value_get_string (entry->value);
|
||||||
|
|
||||||
if (!strcmp ("frame_flash", value))
|
if (g_strcmp0 ("frame_flash", value) == 0)
|
||||||
widget = WID (panel->priv->builder, "hearing_flash_window_title_button");
|
widget = WID (panel->priv->builder, "hearing_flash_window_title_button");
|
||||||
else
|
else
|
||||||
widget = WID (panel->priv->builder, "hearing_flash_screen_button");
|
widget = WID (panel->priv->builder, "hearing_flash_screen_button");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue