summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvi Levin <avi.levin@samsung.com>2015-05-10 11:57:14 +0300
committerAvi Levin <avi.levin@samsung.com>2015-06-29 17:03:33 +0300
commitde1906e3b821dd02d783b6c9cfcc4b1ab8a00bec (patch)
treef3d3ef9a15c3792ce373278b0ae1a8b760262c74
parentad3aa2204e1840f26ebc8a7d934e8fb3fe39b91e (diff)
elm_panes: porting evas smart callbacks to eo
-rw-r--r--src/lib/elm_panes.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/elm_panes.c b/src/lib/elm_panes.c
index 716f233ba..c04a2fd2b 100644
--- a/src/lib/elm_panes.c
+++ b/src/lib/elm_panes.c
@@ -137,7 +137,7 @@ _on_clicked(void *data,
137 const char *emission EINA_UNUSED, 137 const char *emission EINA_UNUSED,
138 const char *source EINA_UNUSED) 138 const char *source EINA_UNUSED)
139{ 139{
140 evas_object_smart_callback_call(data, SIG_CLICKED, NULL); 140 eo_do(data, eo_event_callback_call(ELM_PANES_EVENT_CLICKED, NULL));
141} 141}
142 142
143static void 143static void
@@ -157,7 +157,7 @@ _on_pressed(void *data,
157 const char *emission EINA_UNUSED, 157 const char *emission EINA_UNUSED,
158 const char *source EINA_UNUSED) 158 const char *source EINA_UNUSED)
159{ 159{
160 evas_object_smart_callback_call(data, SIG_PRESS, NULL); 160 eo_do(data, eo_event_callback_call(ELM_PANES_EVENT_PRESS, NULL));
161} 161}
162 162
163static void 163static void
@@ -167,11 +167,11 @@ _on_unpressed(void *data,
167 const char *source EINA_UNUSED) 167 const char *source EINA_UNUSED)
168{ 168{
169 ELM_PANES_DATA_GET(data, sd); 169 ELM_PANES_DATA_GET(data, sd);
170 evas_object_smart_callback_call(data, SIG_UNPRESS, NULL); 170 eo_do(data, eo_event_callback_call(ELM_PANES_EVENT_UNPRESS, NULL));
171 171
172 if (sd->double_clicked) 172 if (sd->double_clicked)
173 { 173 {
174 evas_object_smart_callback_call(data, SIG_DOUBLE_CLICKED, NULL); 174 eo_do(data, eo_event_callback_call(ELM_PANES_EVENT_CLICKED_DOUBLE, NULL));
175 sd->double_clicked = EINA_FALSE; 175 sd->double_clicked = EINA_FALSE;
176 } 176 }
177} 177}