From: Enlightenment S. <no-...@en...> - 2011-01-26 06:45:39
|
Log: move ecore stuff to after eina_log Author: discomfitor Date: 2011-01-25 22:45:31 -0800 (Tue, 25 Jan 2011) New Revision: 56302 Trac: http://trac.enlightenment.org/e/changeset/56302 Modified: trunk/e_dbus/src/lib/dbus/e_dbus.c Modified: trunk/e_dbus/src/lib/dbus/e_dbus.c =================================================================== --- trunk/e_dbus/src/lib/dbus/e_dbus.c 2011-01-25 20:22:50 UTC (rev 56301) +++ trunk/e_dbus/src/lib/dbus/e_dbus.c 2011-01-26 06:45:31 UTC (rev 56302) @@ -608,22 +608,21 @@ return --_edbus_init_count; } - if (!ecore_init()) + _e_dbus_log_dom = eina_log_domain_register("e_dbus", E_DBUS_COLOR_DEFAULT); + if (_e_dbus_log_dom < 0) { - fprintf(stderr,"E-dbus: Enable to initialize ecore\n"); + EINA_LOG_ERR("Enable to create an 'e_dbus' log domain"); eina_shutdown(); return --_edbus_init_count; } - - _e_dbus_log_dom = eina_log_domain_register("e_dbus", E_DBUS_COLOR_DEFAULT); - if (_e_dbus_log_dom < 0) + if (!ecore_init()) { - EINA_LOG_ERR("Enable to create an 'e_dbus' log domain"); + fprintf(stderr,"E-dbus: Enable to initialize ecore\n"); eina_shutdown(); - ecore_shutdown(); return --_edbus_init_count; } + E_DBUS_EVENT_SIGNAL = ecore_event_type_new(); e_dbus_object_init(); |