On Tue, 25 Jan 2011, Enlightenment SVN wrote:
> 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"); I think that eina log messages can be used. Also unregister log domain Vincent > eina_shutdown(); > - ecore_shutdown(); > return --_edbus_init_count; > } > > + > E_DBUS_EVENT_SIGNAL = ecore_event_type_new(); > e_dbus_object_init(); > > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > enlightenment-svn mailing list > enlightenment-...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn > > ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel