summaryrefslogtreecommitdiff
path: root/src/lib/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/lib/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/lib/eldbus')
-rw-r--r--src/lib/eldbus/eldbus_model_connection.c2
-rw-r--r--src/lib/eldbus/eldbus_model_object.c2
-rw-r--r--src/lib/eldbus/eldbus_model_proxy.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/eldbus/eldbus_model_connection.c b/src/lib/eldbus/eldbus_model_connection.c
index 465673ad33..aee061e6af 100644
--- a/src/lib/eldbus/eldbus_model_connection.c
+++ b/src/lib/eldbus/eldbus_model_connection.c
@@ -333,7 +333,7 @@ _eldbus_model_connection_names_list_cb(void *data,
333 { 333 {
334 DBG("(%p): bus = %s", pd->obj, bus); 334 DBG("(%p): bus = %s", pd->obj, bus);
335 335
336 Eo *child = efl_add(ELDBUS_MODEL_OBJECT_CLASS, NULL, eldbus_model_object_connection_constructor(efl_self, pd->connection, bus, "/")); 336 Eo *child = efl_add(ELDBUS_MODEL_OBJECT_CLASS, NULL, eldbus_model_object_connection_constructor(efl_added, pd->connection, bus, "/"));
337 337
338 pd->children_list = eina_list_append(pd->children_list, child); 338 pd->children_list = eina_list_append(pd->children_list, child);
339 } 339 }
diff --git a/src/lib/eldbus/eldbus_model_object.c b/src/lib/eldbus/eldbus_model_object.c
index 4de2400df1..2baf940923 100644
--- a/src/lib/eldbus/eldbus_model_object.c
+++ b/src/lib/eldbus/eldbus_model_object.c
@@ -517,7 +517,7 @@ _eldbus_model_object_create_children(Eldbus_Model_Object_Data *pd, Eldbus_Object
517 WRN("(%p) Creating child: bus = %s, path = %s, interface = %s", pd->obj, pd->bus, current_path, interface->name); 517 WRN("(%p) Creating child: bus = %s, path = %s, interface = %s", pd->obj, pd->bus, current_path, interface->name);
518 518
519 // TODO: increment reference to keep 'interface' in memory 519 // TODO: increment reference to keep 'interface' in memory
520 child = efl_add_ref(ELDBUS_MODEL_PROXY_CLASS, NULL, eldbus_model_proxy_constructor(efl_self, object, interface)); 520 child = efl_add_ref(ELDBUS_MODEL_PROXY_CLASS, NULL, eldbus_model_proxy_constructor(efl_added, object, interface));
521 521
522 pd->children_list = eina_list_append(pd->children_list, child); 522 pd->children_list = eina_list_append(pd->children_list, child);
523 } 523 }
diff --git a/src/lib/eldbus/eldbus_model_proxy.c b/src/lib/eldbus/eldbus_model_proxy.c
index 54eb6c667a..bc249abb88 100644
--- a/src/lib/eldbus/eldbus_model_proxy.c
+++ b/src/lib/eldbus/eldbus_model_proxy.c
@@ -296,7 +296,7 @@ _eldbus_model_proxy_create_methods_children(Eldbus_Model_Proxy_Data *pd)
296 INF("(%p) Creating method child: bus = %s, path = %s, method = %s::%s", 296 INF("(%p) Creating method child: bus = %s, path = %s, method = %s::%s",
297 pd->obj, bus, path, interface_name, method_name); 297 pd->obj, bus, path, interface_name, method_name);
298 298
299 child = efl_add(ELDBUS_MODEL_METHOD_CLASS, NULL, eldbus_model_method_constructor(efl_self, pd->proxy, method)); 299 child = efl_add(ELDBUS_MODEL_METHOD_CLASS, NULL, eldbus_model_method_constructor(efl_added, pd->proxy, method));
300 300
301 pd->children_list = eina_list_append(pd->children_list, child); 301 pd->children_list = eina_list_append(pd->children_list, child);
302 } 302 }
@@ -331,7 +331,7 @@ _eldbus_model_proxy_create_signals_children(Eldbus_Model_Proxy_Data *pd)
331 DBG("(%p) Creating signal child: bus = %s, path = %s, signal = %s::%s", 331 DBG("(%p) Creating signal child: bus = %s, path = %s, signal = %s::%s",
332 pd->obj, bus, path, interface_name, signal_name); 332 pd->obj, bus, path, interface_name, signal_name);
333 333
334 child = efl_add(ELDBUS_MODEL_SIGNAL_CLASS, NULL, eldbus_model_signal_constructor(efl_self, pd->proxy, signal)); 334 child = efl_add(ELDBUS_MODEL_SIGNAL_CLASS, NULL, eldbus_model_signal_constructor(efl_added, pd->proxy, signal));
335 335
336 pd->children_list = eina_list_append(pd->children_list, child); 336 pd->children_list = eina_list_append(pd->children_list, child);
337 } 337 }