aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/elm_check.c
diff options
context:
space:
mode:
authorVitor Sousa <vitorsousasilva@gmail.com>2016-08-22 19:40:39 -0300
committerVitor Sousa <vitorsousasilva@gmail.com>2016-08-26 15:45:07 -0300
commit8356b16a49d4f653d61940763eff947466b44e24 (patch)
treeb5d8e533b3df4ad45f2ea97071b7a826ae5d04b5 /src/lib/elementary/elm_check.c
parentecore_cocoa: fix fullscreen for older osx versions (diff)
downloadefl-8356b16a49d4f653d61940763eff947466b44e24.tar.gz
Efl Object: remove legacy callback calls from event_callback_call
Efl.Object.event_callback_call no longer calls legacy smart callbacks; calling only event callbacks registered with the given event description pointer. Create the method Efl.Object.event_callback_legacy_call to inherit the old behavior from Efl.Object.event_callback_call, calling both Efl.Object events and legacy smart callbacks. Update all other files accordingly in order to still supply legacy callbacks while they are necessary.
Diffstat (limited to 'src/lib/elementary/elm_check.c')
-rw-r--r--src/lib/elementary/elm_check.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/elementary/elm_check.c b/src/lib/elementary/elm_check.c
index 648b0ec9c1..0f5651649a 100644
--- a/src/lib/elementary/elm_check.c
+++ b/src/lib/elementary/elm_check.c
@@ -75,7 +75,7 @@ _activate(Evas_Object *obj)
_elm_access_say(E_("State: Off"));
}
- efl_event_callback_call(obj, EFL_UI_CHECK_EVENT_CHANGED, NULL);
+ efl_event_callback_legacy_call(obj, EFL_UI_CHECK_EVENT_CHANGED, NULL);
if (_elm_config->atspi_mode)
elm_interface_atspi_accessible_state_changed_signal_emit(obj,
@@ -251,7 +251,7 @@ _on_check_off(void *data,
if (sd->statep) *sd->statep = efl_ui_nstate_value_get(obj);
elm_layout_signal_emit(obj, "elm,state,check,off", "elm");
- efl_event_callback_call(obj, EFL_UI_CHECK_EVENT_CHANGED, NULL);
+ efl_event_callback_legacy_call(obj, EFL_UI_CHECK_EVENT_CHANGED, NULL);
if (_elm_config->atspi_mode)
elm_interface_atspi_accessible_state_changed_signal_emit(data,
@@ -272,7 +272,7 @@ _on_check_on(void *data,
efl_ui_nstate_value_set(obj, 1);
if (sd->statep) *sd->statep = efl_ui_nstate_value_get(obj);
elm_layout_signal_emit(obj, "elm,state,check,on", "elm");
- efl_event_callback_call(obj, EFL_UI_CHECK_EVENT_CHANGED, NULL);
+ efl_event_callback_legacy_call(obj, EFL_UI_CHECK_EVENT_CHANGED, NULL);
if (_elm_config->atspi_mode)
elm_interface_atspi_accessible_state_changed_signal_emit(data,