return EINA_TRUE;
}
+void _e_mod_atspi_vconf_shutdown(void)
+{
+ int ret;
+
+ _e_mod_submodules_shutdown();
+
+ ret = vconf_ignore_key_changed(VCONFKEY_SETAPPL_ACCESSIBILITY_TTS, screen_reader_cb);
+ if(ret != 0)
+ {
+ ERROR("Could not remove information level callback\n");
+ }
+}
+
EAPI void *
e_modapi_init(E_Module *m)
{
_e_mod_log_init();
if (_e_mod_atspi_dbus_init())
{
- ERROR("Dbus initialization failed.");
- return NULL;
+ ERROR("Dbus initialization failed.");
+ _e_mod_log_shutdown();
+ return NULL;
}
if (!_e_mod_atspi_vconf_init())
{
- _e_mod_atspi_dbus_shutdown();
ERROR("AT-SPI vconf initialization failed.");
+ _e_mod_atspi_dbus_shutdown();
+ _e_mod_log_shutdown();
return NULL;
}
e_accessibility_conf_init(m);
e_modapi_shutdown(E_Module *m EINA_UNUSED)
{
e_accessibility_conf_shutdown();
- _e_mod_log_shutdown();
+ _e_mod_atspi_vconf_shutdown();
_e_mod_atspi_dbus_shutdown();
-
+ _e_mod_log_shutdown();
return 1;
}