barbieri pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=cf5aeb9804e030465f95f3eb0653a1b388983815

commit cf5aeb9804e030465f95f3eb0653a1b388983815
Author: Gustavo Sverzut Barbieri <[email protected]>
Date:   Fri Dec 2 14:09:07 2016 -0200

    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 48d0c29..6d8c701 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;
      }

-- 


Reply via email to