summaryrefslogtreecommitdiff
path: root/src/lib/efl/interfaces/efl_model_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/efl/interfaces/efl_model_common.c')
-rw-r--r--src/lib/efl/interfaces/efl_model_common.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/efl/interfaces/efl_model_common.c b/src/lib/efl/interfaces/efl_model_common.c
index 5f3e057..90d515c 100644
--- a/src/lib/efl/interfaces/efl_model_common.c
+++ b/src/lib/efl/interfaces/efl_model_common.c
@@ -43,7 +43,7 @@ efl_model_load_set(Efl_Model_Base *model, Efl_Model_Load *load, Efl_Model_Load_S
43 if (load->status != new_load.status) 43 if (load->status != new_load.status)
44 { 44 {
45 load->status = new_load.status; 45 load->status = new_load.status;
46 eo_do(model, eo_event_callback_call(EFL_MODEL_BASE_EVENT_LOAD_STATUS, load)); 46 eo_event_callback_call(model, EFL_MODEL_BASE_EVENT_LOAD_STATUS, load);
47 } 47 }
48} 48}
49 49
@@ -77,7 +77,7 @@ EAPI void
77efl_model_error_notify(Efl_Model_Base *model) 77efl_model_error_notify(Efl_Model_Base *model)
78{ 78{
79 Efl_Model_Load load = {.status = EFL_MODEL_LOAD_STATUS_ERROR}; 79 Efl_Model_Load load = {.status = EFL_MODEL_LOAD_STATUS_ERROR};
80 eo_do(model, eo_event_callback_call(EFL_MODEL_BASE_EVENT_LOAD_STATUS, &load)); 80 eo_event_callback_call(model, EFL_MODEL_BASE_EVENT_LOAD_STATUS, &load);
81} 81}
82 82
83EAPI void 83EAPI void
@@ -90,7 +90,7 @@ efl_model_property_changed_notify(Efl_Model_Base *model, const char *property)
90 EINA_SAFETY_ON_FALSE_GOTO(ret, on_error); 90 EINA_SAFETY_ON_FALSE_GOTO(ret, on_error);
91 91
92 Efl_Model_Property_Event evt = {.changed_properties = changed_properties}; 92 Efl_Model_Property_Event evt = {.changed_properties = changed_properties};
93 eo_do(model, eo_event_callback_call(EFL_MODEL_BASE_EVENT_PROPERTIES_CHANGED, &evt)); 93 eo_event_callback_call(model, EFL_MODEL_BASE_EVENT_PROPERTIES_CHANGED, &evt);
94 94
95on_error: 95on_error:
96 eina_array_free(changed_properties); 96 eina_array_free(changed_properties);
@@ -106,7 +106,7 @@ efl_model_property_invalidated_notify(Efl_Model_Base *model, const char *propert
106 EINA_SAFETY_ON_FALSE_GOTO(ret, on_error); 106 EINA_SAFETY_ON_FALSE_GOTO(ret, on_error);
107 107
108 Efl_Model_Property_Event evt = {.invalidated_properties = invalidated_properties}; 108 Efl_Model_Property_Event evt = {.invalidated_properties = invalidated_properties};
109 eo_do(model, eo_event_callback_call(EFL_MODEL_BASE_EVENT_PROPERTIES_CHANGED, &evt)); 109 eo_event_callback_call(model, EFL_MODEL_BASE_EVENT_PROPERTIES_CHANGED, &evt);
110 110
111on_error: 111on_error:
112 eina_array_free(invalidated_properties); 112 eina_array_free(invalidated_properties);