From cf5aeb9804e030465f95f3eb0653a1b388983815 Mon Sep 17 00:00:00 2001 From: Gustavo Sverzut Barbieri Date: Fri, 2 Dec 2016 14:09:07 -0200 Subject: [PATCH] eo: use log domain as soon as it's available. --- src/lib/eo/eo.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c index 48d0c29024..6d8c701287 100644 --- a/src/lib/eo/eo.c +++ b/src/lib/eo/eo.c @@ -1923,19 +1923,19 @@ efl_object_init(void) if (!eina_lock_recursive_new(&_efl_class_creation_lock)) { - EINA_LOG_ERR("Could not init lock."); + ERR("Could not init lock."); return EINA_FALSE; } if (!eina_spinlock_new(&_ops_storage_lock)) { - EINA_LOG_ERR("Could not init lock."); + ERR("Could not init lock."); return EINA_FALSE; } if (!eina_spinlock_new(&_super_class_lock)) { - EINA_LOG_ERR("Could not init lock."); + ERR("Could not init lock."); return EINA_FALSE; } @@ -1955,7 +1955,7 @@ efl_object_init(void) _eo_table_data_shared = _eo_table_data_new(EFL_ID_DOMAIN_SHARED); if (!_eo_table_data_shared) { - EINA_LOG_ERR("Could not allocate shared table data"); + ERR("Could not allocate shared table data"); return EINA_FALSE; } _eo_table_data_shared_data = _eo_table_data_shared->tables[EFL_ID_DOMAIN_SHARED]; @@ -1965,12 +1965,12 @@ efl_object_init(void) _eo_gdb_main_domain = data; if (!data) { - EINA_LOG_ERR("Could not allocate main table data"); + ERR("Could not allocate main table data"); return EINA_FALSE; } if (!eina_tls_cb_new(&_eo_table_data, _eo_table_del_cb)) { - EINA_LOG_ERR("Could not allocate TLS for eo domain data"); + ERR("Could not allocate TLS for eo domain data"); _eo_table_del_cb(data); return EINA_FALSE; }