jackdanielz pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=64ab036fa5f66476f3da748427597c2cb2867782

commit 64ab036fa5f66476f3da748427597c2cb2867782
Author: Avi Levin <avi.le...@samsung.com>
Date:   Thu May 7 18:17:20 2015 +0300

    elm_progressbar: porting evas smart callbacks to eo
---
 src/lib/elm_progressbar.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/lib/elm_progressbar.c b/src/lib/elm_progressbar.c
index 5d82b4d..1fbaab3 100644
--- a/src/lib/elm_progressbar.c
+++ b/src/lib/elm_progressbar.c
@@ -403,7 +403,8 @@ _elm_progressbar_part_value_set(Eo *obj EINA_UNUSED, 
Elm_Progressbar_Data *sd, c
 
    _val_set(obj);
    _units_set(obj);
-   evas_object_smart_callback_call(obj, SIG_CHANGED, NULL);
+   eo_do(obj, eo_event_callback_call
+     (ELM_PROGRESSBAR_EVENT_CHANGED, NULL));
 }
 
 EOLIAN static double
@@ -435,7 +436,8 @@ _elm_progressbar_value_set(Eo *obj, Elm_Progressbar_Data 
*sd, double val)
    sd->progress_status = eina_list_append(sd->progress_status, ps);
    _val_set(obj);
    _units_set(obj);
-   evas_object_smart_callback_call(obj, SIG_CHANGED, NULL);
+   eo_do(obj, eo_event_callback_call
+     (ELM_PROGRESSBAR_EVENT_CHANGED, NULL));
 }
 
 EOLIAN static double

-- 


Reply via email to