jackdanielz pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=95d11bc6e760d9df13499b6c109b33a27890330b

commit 95d11bc6e760d9df13499b6c109b33a27890330b
Author: Avi Levin <avi.le...@samsung.com>
Date:   Wed May 13 16:46:41 2015 +0300

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

diff --git a/src/lib/elm_label.c b/src/lib/elm_label.c
index 4ef320a..33429f8 100644
--- a/src/lib/elm_label.c
+++ b/src/lib/elm_label.c
@@ -359,7 +359,7 @@ _on_slide_end(void *data, Evas_Object *obj EINA_UNUSED,
    if (sd->slide_ellipsis)
      eo_do(data, elm_obj_label_ellipsis_set(EINA_TRUE));
 
-   evas_object_smart_callback_call(data, SIG_SLIDE_END, NULL);
+   eo_do(data, eo_event_callback_call(ELM_LABEL_EVENT_SLIDE_END, NULL));
 }
 
 EOLIAN static void
diff --git a/src/lib/elm_layout.c b/src/lib/elm_layout.c
index f089510..7f8ea1a 100644
--- a/src/lib/elm_layout.c
+++ b/src/lib/elm_layout.c
@@ -367,7 +367,7 @@ _elm_layout_theme_internal(Eo *obj, Elm_Layout_Smart_Data 
*sd)
      }
 
    if (ret)
-     evas_object_smart_callback_call(obj, SIG_THEME_CHANGED, NULL);
+     eo_do(obj, eo_event_callback_call(ELM_LAYOUT_EVENT_THEME_CHANGED, NULL));
 
    ret = _visuals_refresh(obj, sd) && ret;
 
@@ -409,7 +409,7 @@ _elm_layout_elm_widget_on_focus(Eo *obj, 
Elm_Layout_Smart_Data *_pd EINA_UNUSED)
      {
         elm_layout_signal_emit(obj, "elm,action,focus", "elm");
         evas_object_focus_set(wd->resize_obj, EINA_TRUE);
-        evas_object_smart_callback_call(obj, SIG_LAYOUT_FOCUSED, NULL);
+        eo_do(obj, eo_event_callback_call(ELM_LAYOUT_EVENT_FOCUSED, NULL));
         if (_elm_config->atspi_mode && !elm_widget_child_can_focus_get(obj))
           elm_interface_atspi_accessible_state_changed_signal_emit(obj, 
ELM_ATSPI_STATE_FOCUSED, EINA_TRUE);
      }
@@ -417,7 +417,7 @@ _elm_layout_elm_widget_on_focus(Eo *obj, 
Elm_Layout_Smart_Data *_pd EINA_UNUSED)
      {
         elm_layout_signal_emit(obj, "elm,action,unfocus", "elm");
         evas_object_focus_set(wd->resize_obj, EINA_FALSE);
-        evas_object_smart_callback_call(obj, SIG_LAYOUT_UNFOCUSED, NULL);
+         eo_do(obj, eo_event_callback_call(ELM_LAYOUT_EVENT_UNFOCUSED, NULL));
         if (_elm_config->atspi_mode && !elm_widget_child_can_focus_get(obj))
           elm_interface_atspi_accessible_state_changed_signal_emit(obj, 
ELM_ATSPI_STATE_FOCUSED, EINA_FALSE);
      }

-- 


Reply via email to