universal-access: Error when metacity not installed

This commit is contained in:
Bastien Nocera 2011-09-09 00:09:56 +01:00
parent ebd4414ac9
commit 34bf1d6076

View file

@ -610,6 +610,8 @@ cc_ua_panel_init_hearing (CcUaPanel *self)
entry = gconf_client_get_entry (priv->client,
"/apps/metacity/general/visual_bell_type",
NULL, TRUE, NULL);
if (entry == NULL)
g_warning ("The following warning is because metacity's GConf settings aren't installed");
visual_bell_type_notify_cb (priv->client, 0, entry, self);
g_signal_connect (WID (priv->builder, "hearing_flash_window_title_button"),