summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-01-04 17:44:02 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-01-05 14:54:04 +0900
commit13d9f7ebcd5296f4d2ff6f8624c23b948932a59e (patch)
treeb9c3011fde7781ad2413bf52fa43ae36a6cedcc4
parente7ae08427034bf0a1b55ec8e6bacea6f4639e58f (diff)
Eo: Print object class name during Eo.Base ctor/dtor
Printing class_name(MY_CLASS) is useless information. Printing the object's real class name is much more useful.
-rw-r--r--src/lib/eo/eo_base_class.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/eo/eo_base_class.c b/src/lib/eo/eo_base_class.c
index 756dc058c2..6467a2fb94 100644
--- a/src/lib/eo/eo_base_class.c
+++ b/src/lib/eo/eo_base_class.c
@@ -962,7 +962,7 @@ EAPI const Eina_Value_Type *EO_DBG_INFO_TYPE = &_EO_DBG_INFO_TYPE;
962EOLIAN static Eo * 962EOLIAN static Eo *
963_eo_base_constructor(Eo *obj, Eo_Base_Data *pd EINA_UNUSED) 963_eo_base_constructor(Eo *obj, Eo_Base_Data *pd EINA_UNUSED)
964{ 964{
965 DBG("%p - %s.", obj, eo_class_name_get(MY_CLASS)); 965 DBG("%p - %s.", obj, eo_class_name_get(obj));
966 966
967 _eo_condtor_done(obj); 967 _eo_condtor_done(obj);
968 968
@@ -974,7 +974,7 @@ _eo_base_destructor(Eo *obj, Eo_Base_Data *pd)
974{ 974{
975 Eo *child; 975 Eo *child;
976 976
977 DBG("%p - %s.", obj, eo_class_name_get(MY_CLASS)); 977 DBG("%p - %s.", obj, eo_class_name_get(obj));
978 978
979 // special removal - remove from children list by hand after getting 979 // special removal - remove from children list by hand after getting
980 // child handle in case unparent method is overridden and does 980 // child handle in case unparent method is overridden and does