elm_slider: fix to call legacy "delay,changed" callback
authorWooHyun Jung <wh0705.jung@samsung.com>
Thu, 20 Jun 2019 08:55:05 +0000 (08:55 +0000)
committerJongmin Lee <jm105.lee@samsung.com>
Wed, 26 Jun 2019 01:39:30 +0000 (10:39 +0900)
Just fixed a backward compatibility issue in elm_slider.
Now it calls "delay,changed" as it had done previously.

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D9130

src/lib/elementary/elm_slider.c

index ef27814..2de2ec8 100644 (file)
@@ -62,7 +62,7 @@ _delay_change(void *data)
    ELM_SLIDER_DATA_GET(data, sd);
 
    sd->delay = NULL;
-   efl_event_callback_legacy_call(data, EFL_UI_SLIDER_EVENT_STEADY, NULL);
+   evas_object_smart_callback_call(data, SIG_DELAY_CHANGED, NULL);
 
    if (_elm_config->atspi_mode)
      efl_access_value_changed_signal_emit(data);