summaryrefslogtreecommitdiff
path: root/src/lib/eldbus
diff options
context:
space:
mode:
authorVitor Sousa <vitorsousasilva@gmail.com>2016-08-29 20:13:22 -0300
committerVitor Sousa <vitorsousasilva@gmail.com>2016-08-30 13:59:59 -0300
commitf02ff462e7a771ae516202a3b3e3310fd65a6d57 (patch)
tree60c9893f37076422d5fc31e13efa8047844fa802 /src/lib/eldbus
parentb6e2b8601df25086bfbee14b5b478d357209ec88 (diff)
efl callbacks: update some events calls to no longer trigger legacy callbacksdevs/vitorsousa/update_event_calls
Diffstat (limited to 'src/lib/eldbus')
-rw-r--r--src/lib/eldbus/eldbus_model_arguments.c2
-rw-r--r--src/lib/eldbus/eldbus_model_connection.c2
-rw-r--r--src/lib/eldbus/eldbus_model_method.c2
-rw-r--r--src/lib/eldbus/eldbus_model_proxy.c4
4 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/eldbus/eldbus_model_arguments.c b/src/lib/eldbus/eldbus_model_arguments.c
index b78409194e..f9f7f51c47 100644
--- a/src/lib/eldbus/eldbus_model_arguments.c
+++ b/src/lib/eldbus/eldbus_model_arguments.c
@@ -290,7 +290,7 @@ eldbus_model_arguments_process_arguments(Eldbus_Model_Arguments_Data *pd,
290 if (eina_array_count(changed_properties)) 290 if (eina_array_count(changed_properties))
291 { 291 {
292 Efl_Model_Property_Event evt = {.changed_properties = changed_properties}; 292 Efl_Model_Property_Event evt = {.changed_properties = changed_properties};
293 efl_event_callback_legacy_call(pd->obj, EFL_MODEL_EVENT_PROPERTIES_CHANGED, &evt); 293 efl_event_callback_call(pd->obj, EFL_MODEL_EVENT_PROPERTIES_CHANGED, &evt);
294 } 294 }
295 295
296 result = EINA_TRUE; 296 result = EINA_TRUE;
diff --git a/src/lib/eldbus/eldbus_model_connection.c b/src/lib/eldbus/eldbus_model_connection.c
index 558cb85acd..465673ad33 100644
--- a/src/lib/eldbus/eldbus_model_connection.c
+++ b/src/lib/eldbus/eldbus_model_connection.c
@@ -341,7 +341,7 @@ _eldbus_model_connection_names_list_cb(void *data,
341 count = eina_list_count(pd->children_list); 341 count = eina_list_count(pd->children_list);
342 342
343 if (count) 343 if (count)
344 efl_event_callback_legacy_call(pd->obj, EFL_MODEL_EVENT_CHILDREN_COUNT_CHANGED, &count); 344 efl_event_callback_call(pd->obj, EFL_MODEL_EVENT_CHILDREN_COUNT_CHANGED, &count);
345 345
346 pd->is_listed = EINA_TRUE; 346 pd->is_listed = EINA_TRUE;
347 347
diff --git a/src/lib/eldbus/eldbus_model_method.c b/src/lib/eldbus/eldbus_model_method.c
index 5adc31b5e6..e36f941a0d 100644
--- a/src/lib/eldbus/eldbus_model_method.c
+++ b/src/lib/eldbus/eldbus_model_method.c
@@ -95,7 +95,7 @@ _eldbus_model_method_call_cb(void *data, const Eldbus_Message *msg, Eldbus_Pendi
95 Eldbus_Model_Arguments_Data *args_data = efl_data_scope_get(pd->obj, ELDBUS_MODEL_ARGUMENTS_CLASS); 95 Eldbus_Model_Arguments_Data *args_data = efl_data_scope_get(pd->obj, ELDBUS_MODEL_ARGUMENTS_CLASS);
96 96
97 if (eldbus_model_arguments_process_arguments(args_data, msg, pending)) 97 if (eldbus_model_arguments_process_arguments(args_data, msg, pending))
98 efl_event_callback_legacy_call(pd->obj, ELDBUS_MODEL_METHOD_EVENT_SUCCESSFUL_CALL, NULL); 98 efl_event_callback_call(pd->obj, ELDBUS_MODEL_METHOD_EVENT_SUCCESSFUL_CALL, NULL);
99} 99}
100 100
101#include "eldbus_model_method.eo.c" 101#include "eldbus_model_method.eo.c"
diff --git a/src/lib/eldbus/eldbus_model_proxy.c b/src/lib/eldbus/eldbus_model_proxy.c
index 0b5ba49fd5..54eb6c667a 100644
--- a/src/lib/eldbus/eldbus_model_proxy.c
+++ b/src/lib/eldbus/eldbus_model_proxy.c
@@ -620,7 +620,7 @@ _eldbus_model_proxy_property_get_all_cb(void *data,
620 .changed_properties = changed_properties 620 .changed_properties = changed_properties
621 }; 621 };
622 622
623 efl_event_callback_legacy_call(pd->obj, EFL_MODEL_EVENT_PROPERTIES_CHANGED, &evt); 623 efl_event_callback_call(pd->obj, EFL_MODEL_EVENT_PROPERTIES_CHANGED, &evt);
624 } 624 }
625 625
626 eina_array_free(changed_properties); 626 eina_array_free(changed_properties);
@@ -686,7 +686,7 @@ _eldbus_model_proxy_property_set_cb(void *data,
686 .changed_properties = pd->properties_array 686 .changed_properties = pd->properties_array
687 }; 687 };
688 688
689 efl_event_callback_legacy_call(pd->obj, EFL_MODEL_EVENT_PROPERTIES_CHANGED, &evt); 689 efl_event_callback_call(pd->obj, EFL_MODEL_EVENT_PROPERTIES_CHANGED, &evt);
690 efl_model_property_changed_notify(pd->obj, property_set_data->property); 690 efl_model_property_changed_notify(pd->obj, property_set_data->property);
691 691
692 } 692 }