jackdanielz pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=3f06b36e9863992e29e47b63c78d5009550807a3

commit 3f06b36e9863992e29e47b63c78d5009550807a3
Author: Avi Levin <avi.le...@samsung.com>
Date:   Thu May 14 14:03:16 2015 +0300

    elm_icon: porting evas smart callbacks to eo
---
 src/lib/elm_icon.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/lib/elm_icon.c b/src/lib/elm_icon.c
index 8ca0bde..8e8877d 100644
--- a/src/lib/elm_icon.c
+++ b/src/lib/elm_icon.c
@@ -113,11 +113,11 @@ _icon_thumb_display(Elm_Icon_Data *sd)
          (sd->obj, sd->thumb.thumb.path, sd->thumb.thumb.key);
 
    if (ret)
-     evas_object_smart_callback_call
-       (sd->obj, SIG_THUMB_DONE, NULL);
+     eo_do(sd->obj, eo_event_callback_call
+       (ELM_ICON_EVENT_THUMB_DONE, NULL));
    else
-     evas_object_smart_callback_call
-       (sd->obj, SIG_THUMB_ERROR, NULL);
+     eo_do(sd->obj, eo_event_callback_call
+       (ELM_ICON_EVENT_THUMB_ERROR, NULL));
 
    return ret;
 }
@@ -219,7 +219,7 @@ _icon_thumb_error(Ethumb_Client *client,
    ERR("could not generate thumbnail for %s (key: %s)",
        sd->thumb.file.path, sd->thumb.file.key);
 
-   evas_object_smart_callback_call(sd->obj, SIG_THUMB_ERROR, NULL);
+   eo_do(sd->obj, eo_event_callback_call(ELM_ICON_EVENT_THUMB_ERROR, NULL));
 
    _icon_thumb_cleanup(client);
 }

-- 


Reply via email to