summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Zaoui <daniel.zaoui@yahoo.com>2018-11-26 13:23:04 +0200
committerDaniel Zaoui <daniel.zaoui@yahoo.com>2018-11-26 13:26:42 +0200
commite0cbb8268052a52d19a623bc7ff2ce827a6360ce (patch)
tree4441f48ad40b1edf63f47d3c01570b99c5619f21
parentd813400307147beae64fe907e46fa1bfce7054dc (diff)
Adapt code to Eolian APIs changes
-rw-r--r--src/lib/clouseau_debug.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/lib/clouseau_debug.c b/src/lib/clouseau_debug.c
index 6dc96a9..1785e83 100644
--- a/src/lib/clouseau_debug.c
+++ b/src/lib/clouseau_debug.c
@@ -773,11 +773,15 @@ _obj_info_req_cb(Eina_Debug_Session *session, int srcid, void *buffer, int size
773 Eina_List *list = eina_list_append(NULL, okl); 773 Eina_List *list = eina_list_append(NULL, okl);
774 EINA_LIST_FOREACH(list, itr, kl) 774 EINA_LIST_FOREACH(list, itr, kl)
775 { 775 {
776 const Eolian_Class *inherit; 776 const Eolian_Class *inherit, *parent;
777 Eina_Iterator *inherits_itr; 777 Eina_Iterator *inherits_itr;
778 778
779 inherits_itr = eolian_class_inherits_get(kl); 779 parent = eolian_class_parent_get(kl);
780 size_curr += _class_buffer_fill(obj, kl, buf + size_curr); 780 if (!eina_list_data_find(list, parent))
781 list2 = eina_list_append(list, parent);
782
783 inherits_itr = eolian_class_extensions_get(kl);
784 size_curr += _class_buffer_fill(buf + size_curr, obj, kl);
781 785
782 EINA_ITERATOR_FOREACH(inherits_itr, inherit) 786 EINA_ITERATOR_FOREACH(inherits_itr, inherit)
783 { 787 {