summaryrefslogtreecommitdiff
path: root/src/examples/eldbus
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-09-05 16:57:35 +0100
committerTom Hacohen <tom@stosb.com>2016-09-05 16:59:56 +0100
commit9c779dca90bea36ad43c77597f107dd157a33c46 (patch)
tree7f53cf04ccbb1ca6be0cd42983692f61f44c696f /src/examples/eldbus
parent5eedad98fe4fe696593147c87ae2278d76e4c9db (diff)
Rename efl_self to efl_added
It has been discussed on the ML (thread: "[RFC] rename efl_self") and IRC, and has been decided we should rename it to this in order to avoid confusion with the already established meaning of self which is very similar to what we were using it for, but didn't have complete overlap. Kudos to Marcel Hollerbach for initiating the discussion and fighting for it until he convinced a significant mass. :) This commit breaks API, and depending on compiler potentially ABI. @feature
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 5edbcc8..034fde6 100644
--- a/src/examples/eldbus/dbusmodel.c
+++ b/src/examples/eldbus/dbusmodel.c
@@ -134,7 +134,7 @@ main(int argc, char **argv EINA_UNUSED)
134 if (argc > 1) bus = argv[1]; 134 if (argc > 1) bus = argv[1];
135 if (argc > 2) path = argv[2]; 135 if (argc > 2) path = argv[2];
136 136
137 root = efl_add_ref(ELDBUS_MODEL_OBJECT_CLASS, NULL, eldbus_model_object_constructor(efl_self, ELDBUS_CONNECTION_TYPE_SESSION, NULL, EINA_FALSE, bus, path)); 137 root = efl_add_ref(ELDBUS_MODEL_OBJECT_CLASS, NULL, eldbus_model_object_constructor(efl_added, ELDBUS_CONNECTION_TYPE_SESSION, NULL, EINA_FALSE, bus, path));
138 138
139 Eina_Promise *promises[] = { NULL, NULL, NULL}; 139 Eina_Promise *promises[] = { NULL, NULL, NULL};
140 promises[0] = efl_model_children_slice_get(root, 0, 0); 140 promises[0] = efl_model_children_slice_get(root, 0, 0);