summaryrefslogtreecommitdiff
path: root/src/lib/eldbus/eldbus_model_connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/eldbus/eldbus_model_connection.c')
-rw-r--r--src/lib/eldbus/eldbus_model_connection.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/lib/eldbus/eldbus_model_connection.c b/src/lib/eldbus/eldbus_model_connection.c
index 6325a5a..ebd758b 100644
--- a/src/lib/eldbus/eldbus_model_connection.c
+++ b/src/lib/eldbus/eldbus_model_connection.c
@@ -20,7 +20,7 @@ static void _eldbus_model_connection_clear(Eldbus_Model_Connection_Data *);
20static Eo_Base* 20static Eo_Base*
21_eldbus_model_connection_eo_base_constructor(Eo *obj, Eldbus_Model_Connection_Data *pd) 21_eldbus_model_connection_eo_base_constructor(Eo *obj, Eldbus_Model_Connection_Data *pd)
22{ 22{
23 obj = eo_do_super_ret(obj, MY_CLASS, obj, eo_constructor()); 23 obj = eo_constructor(eo_super(obj, MY_CLASS));
24 24
25 pd->obj = obj; 25 pd->obj = obj;
26 pd->load.status = EFL_MODEL_LOAD_STATUS_UNLOADED; 26 pd->load.status = EFL_MODEL_LOAD_STATUS_UNLOADED;
@@ -55,7 +55,7 @@ _eldbus_model_connection_eo_base_destructor(Eo *obj, Eldbus_Model_Connection_Dat
55 55
56 _eldbus_model_connection_clear(pd); 56 _eldbus_model_connection_clear(pd);
57 57
58 eo_do_super(obj, MY_CLASS, eo_destructor()); 58 eo_destructor(eo_super(obj, MY_CLASS));
59} 59}
60 60
61static Efl_Model_Load_Status 61static Efl_Model_Load_Status
@@ -345,8 +345,7 @@ _eldbus_model_connection_names_list_cb(void *data,
345 { 345 {
346 DBG("(%p): bus = %s", pd->obj, bus); 346 DBG("(%p): bus = %s", pd->obj, bus);
347 347
348 Eo *child = eo_add(ELDBUS_MODEL_OBJECT_CLASS, NULL, 348 Eo *child = eo_add(ELDBUS_MODEL_OBJECT_CLASS, NULL, eldbus_model_object_connection_constructor(eoid, pd->connection, bus, "/"));
349 eldbus_model_object_connection_constructor(pd->connection, bus, "/"));
350 349
351 pd->children_list = eina_list_append(pd->children_list, child); 350 pd->children_list = eina_list_append(pd->children_list, child);
352 } 351 }
@@ -355,7 +354,7 @@ _eldbus_model_connection_names_list_cb(void *data,
355 354
356 count = eina_list_count(pd->children_list); 355 count = eina_list_count(pd->children_list);
357 if (count) 356 if (count)
358 eo_do(pd->obj, eo_event_callback_call(EFL_MODEL_BASE_EVENT_CHILDREN_COUNT_CHANGED, &count)); 357 eo_event_callback_call(pd->obj, EFL_MODEL_BASE_EVENT_CHILDREN_COUNT_CHANGED, &count);
359} 358}
360 359
361#include "eldbus_model_connection.eo.c" 360#include "eldbus_model_connection.eo.c"