summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvi Levin <avi.levin@samsung.com>2015-05-14 14:03:16 +0300
committerAvi Levin <avi.levin@samsung.com>2015-06-29 17:03:33 +0300
commite1905ec204e8b3726fe085925a05424a04ab2a3c (patch)
tree95058e40b0d00edbc17d003ec0dba613036bcd7f
parente7034502485b0cfddb091a16cdc3eda0da793252 (diff)
elm_win, elm_icon: porting evas smart callbacks to eo
-rw-r--r--src/lib/elm_icon.c10
-rw-r--r--src/lib/elm_win.c4
-rw-r--r--src/lib/elm_win.eo1
3 files changed, 8 insertions, 7 deletions
diff --git a/src/lib/elm_icon.c b/src/lib/elm_icon.c
index 8ca0bde45..8e8877d76 100644
--- a/src/lib/elm_icon.c
+++ b/src/lib/elm_icon.c
@@ -113,11 +113,11 @@ _icon_thumb_display(Elm_Icon_Data *sd)
113 (sd->obj, sd->thumb.thumb.path, sd->thumb.thumb.key); 113 (sd->obj, sd->thumb.thumb.path, sd->thumb.thumb.key);
114 114
115 if (ret) 115 if (ret)
116 evas_object_smart_callback_call 116 eo_do(sd->obj, eo_event_callback_call
117 (sd->obj, SIG_THUMB_DONE, NULL); 117 (ELM_ICON_EVENT_THUMB_DONE, NULL));
118 else 118 else
119 evas_object_smart_callback_call 119 eo_do(sd->obj, eo_event_callback_call
120 (sd->obj, SIG_THUMB_ERROR, NULL); 120 (ELM_ICON_EVENT_THUMB_ERROR, NULL));
121 121
122 return ret; 122 return ret;
123} 123}
@@ -219,7 +219,7 @@ _icon_thumb_error(Ethumb_Client *client,
219 ERR("could not generate thumbnail for %s (key: %s)", 219 ERR("could not generate thumbnail for %s (key: %s)",
220 sd->thumb.file.path, sd->thumb.file.key); 220 sd->thumb.file.path, sd->thumb.file.key);
221 221
222 evas_object_smart_callback_call(sd->obj, SIG_THUMB_ERROR, NULL); 222 eo_do(sd->obj, eo_event_callback_call(ELM_ICON_EVENT_THUMB_ERROR, NULL));
223 223
224 _icon_thumb_cleanup(client); 224 _icon_thumb_cleanup(client);
225} 225}
diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c
index e7a7c142e..85d7f058d 100644
--- a/src/lib/elm_win.c
+++ b/src/lib/elm_win.c
@@ -67,8 +67,8 @@ static const Elm_Win_Trap *trap = NULL;
67 { \ 67 { \
68 edje_object_signal_emit(cursd->edje, \ 68 edje_object_signal_emit(cursd->edje, \
69 "elm,action,hide_blocker", "elm"); \ 69 "elm,action,hide_blocker", "elm"); \
70 evas_object_smart_callback_call(cursd->main_menu, \ 70 eo_do(cursd->main_menu, eo_event_callback_call \
71 "elm,action,unblock_menu", NULL); \ 71 (ELM_WIN_EVENT_ELM_ACTION_UNBLOCK_MENU, NULL)); \
72 } \ 72 } \
73 } 73 }
74 74
diff --git a/src/lib/elm_win.eo b/src/lib/elm_win.eo
index 5528cb6f7..c9a3ba5ac 100644
--- a/src/lib/elm_win.eo
+++ b/src/lib/elm_win.eo
@@ -1642,6 +1642,7 @@ class Elm.Win (Elm.Widget, Elm_Interface_Atspi_Window,
1642 animator,tick; 1642 animator,tick;
1643 theme,changed; 1643 theme,changed;
1644 elm,action,block_menu; 1644 elm,action,block_menu;
1645 elm,action,unblock_menu;
1645 } 1646 }
1646 1647
1647} 1648}