summaryrefslogtreecommitdiff
path: root/src/examples/eldbus
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-03-15 14:07:52 +0000
committerTom Hacohen <tom@stosb.com>2016-03-15 15:25:54 +0000
commit8706d03b43a59578e9c0965545efbc13f4407cab (patch)
treee9c954901591f42c7c6dddb9763438db04b84215 /src/examples/eldbus
parentbd2a9015c354073a4bd378d5c5362397f2aee6e4 (diff)
Change the EFL according to the renaming of the eo_add() current object.
Diffstat (limited to 'src/examples/eldbus')
-rw-r--r--src/examples/eldbus/dbusmodel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/eldbus/dbusmodel.c b/src/examples/eldbus/dbusmodel.c
index b34799b..3585fad 100644
--- a/src/examples/eldbus/dbusmodel.c
+++ b/src/examples/eldbus/dbusmodel.c
@@ -102,7 +102,7 @@ main(int argc, char **argv EINA_UNUSED)
102 if (argc > 1) bus = argv[1]; 102 if (argc > 1) bus = argv[1];
103 if (argc > 2) path = argv[2]; 103 if (argc > 2) path = argv[2];
104 104
105 root = eo_add_ref(ELDBUS_MODEL_OBJECT_CLASS, NULL, eldbus_model_object_constructor(eoid, ELDBUS_CONNECTION_TYPE_SESSION, NULL, EINA_FALSE, bus, path)); 105 root = eo_add_ref(ELDBUS_MODEL_OBJECT_CLASS, NULL, eldbus_model_object_constructor(eo_self, ELDBUS_CONNECTION_TYPE_SESSION, NULL, EINA_FALSE, bus, path));
106 106
107 eo_event_callback_add(root, EFL_MODEL_BASE_EVENT_LOAD_STATUS, _event_load_status_cb, NULL); 107 eo_event_callback_add(root, EFL_MODEL_BASE_EVENT_LOAD_STATUS, _event_load_status_cb, NULL);
108 efl_model_load(root); 108 efl_model_load(root);