use event handler list macro for ibar handlers

This commit is contained in:
Mike Blumenkrantz 2013-06-18 11:00:59 +01:00
parent d4e6c101ff
commit 18057e5a11
1 changed files with 4 additions and 8 deletions

View File

@ -2007,14 +2007,10 @@ e_modapi_init(E_Module *m)
ibar_config->module = m; ibar_config->module = m;
ibar_config->handlers = E_LIST_HANDLER_APPEND(ibar_config->handlers, E_EVENT_CONFIG_ICON_THEME,
eina_list_append(ibar_config->handlers, _ibar_cb_config_icons, NULL);
ecore_event_handler_add(E_EVENT_CONFIG_ICON_THEME, E_LIST_HANDLER_APPEND(ibar_config->handlers, EFREET_EVENT_ICON_CACHE_UPDATE,
_ibar_cb_config_icons, NULL)); _ibar_cb_config_icons, NULL);
ibar_config->handlers =
eina_list_append(ibar_config->handlers,
ecore_event_handler_add(EFREET_EVENT_ICON_CACHE_UPDATE,
_ibar_cb_config_icons, NULL));
e_gadcon_provider_register(&_gadcon_class); e_gadcon_provider_register(&_gadcon_class);
ibar_orders = eina_hash_string_superfast_new(NULL); ibar_orders = eina_hash_string_superfast_new(NULL);