summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_callbacks.c
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2015-11-01 21:57:43 -0200
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2015-11-01 21:57:43 -0200
commitfa88a2337f4c1ed74dbe5f8e9b8ab9e80aa94215 (patch)
tree289d1f0e30abe7aeb9100ab9ed3e3a755d1c18b7 /src/lib/evas/canvas/evas_callbacks.c
parentb9a6a8e7384fc79fced2132407208abfedf77fe1 (diff)
Eo: Partial implementation to remove eo_dodevs/felipealmeida/eo_optimisations
Diffstat (limited to 'src/lib/evas/canvas/evas_callbacks.c')
-rw-r--r--src/lib/evas/canvas/evas_callbacks.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/lib/evas/canvas/evas_callbacks.c b/src/lib/evas/canvas/evas_callbacks.c
index 224b1e3a50..a1ada65f22 100644
--- a/src/lib/evas/canvas/evas_callbacks.c
+++ b/src/lib/evas/canvas/evas_callbacks.c
@@ -153,7 +153,7 @@ evas_object_event_callback_all_del(Evas_Object *eo_obj)
153 if (!obj->callbacks) return; 153 if (!obj->callbacks) return;
154 EINA_INLIST_FOREACH_SAFE(obj->callbacks, itr, info) 154 EINA_INLIST_FOREACH_SAFE(obj->callbacks, itr, info)
155 { 155 {
156 eo_do(eo_obj, eo_event_callback_del( 156 eo_do(eo_obj, eo_event_callback_del(eo_obj,
157 _legacy_evas_callback_table[info->type], _eo_evas_object_cb, info)); 157 _legacy_evas_callback_table[info->type], _eo_evas_object_cb, info));
158 158
159 obj->callbacks = 159 obj->callbacks =
@@ -180,7 +180,7 @@ evas_event_callback_all_del(Evas *eo_e)
180 180
181 EINA_INLIST_FOREACH_SAFE(e->callbacks, itr, info) 181 EINA_INLIST_FOREACH_SAFE(e->callbacks, itr, info)
182 { 182 {
183 eo_do(eo_e, eo_event_callback_del( 183 eo_do(eo_e, eo_event_callback_del(eo_e,
184 _legacy_evas_callback_table[info->type], _eo_evas_cb, info)); 184 _legacy_evas_callback_table[info->type], _eo_evas_cb, info));
185 185
186 e->callbacks = 186 e->callbacks =
@@ -198,7 +198,7 @@ evas_event_callback_cleanup(Evas *eo_e)
198void 198void
199evas_event_callback_call(Evas *eo_e, Evas_Callback_Type type, void *event_info) 199evas_event_callback_call(Evas *eo_e, Evas_Callback_Type type, void *event_info)
200{ 200{
201 eo_do(eo_e, eo_event_callback_call(_legacy_evas_callback_table[type], event_info)); 201 eo_do(eo_e, eo_event_callback_call(eo_e, _legacy_evas_callback_table[type], event_info));
202} 202}
203 203
204void 204void
@@ -259,7 +259,7 @@ evas_object_event_callback_call(Evas_Object *eo_obj, Evas_Object_Protected_Data
259 break; 259 break;
260 } 260 }
261 261
262 eo_do(eo_obj, eo_event_callback_call(_legacy_evas_callback_table[type], event_info)); 262 eo_do(eo_obj, eo_event_callback_call(eo_obj, _legacy_evas_callback_table[type], event_info));
263 263
264 if (type == EVAS_CALLBACK_MOUSE_DOWN) 264 if (type == EVAS_CALLBACK_MOUSE_DOWN)
265 { 265 {
@@ -310,7 +310,7 @@ evas_object_event_callback_priority_add(Evas_Object *eo_obj, Evas_Callback_Type
310 cb_info->type = type; 310 cb_info->type = type;
311 311
312 const Eo_Event_Description *desc = _legacy_evas_callback_table[type]; 312 const Eo_Event_Description *desc = _legacy_evas_callback_table[type];
313 eo_do(eo_obj, eo_event_callback_priority_add(desc, priority, _eo_evas_object_cb, cb_info)); 313 eo_do(eo_obj, eo_event_callback_priority_add(eo_obj, desc, priority, _eo_evas_object_cb, cb_info));
314 314
315 obj->callbacks = 315 obj->callbacks =
316 eina_inlist_append(obj->callbacks, EINA_INLIST_GET(cb_info)); 316 eina_inlist_append(obj->callbacks, EINA_INLIST_GET(cb_info));
@@ -336,7 +336,7 @@ evas_object_event_callback_del(Evas_Object *eo_obj, Evas_Callback_Type type, Eva
336 if ((info->func == func) && (info->type == type)) 336 if ((info->func == func) && (info->type == type))
337 { 337 {
338 void *tmp = info->data; 338 void *tmp = info->data;
339 eo_do(eo_obj, eo_event_callback_del( 339 eo_do(eo_obj, eo_event_callback_del(eo_obj,
340 _legacy_evas_callback_table[type], _eo_evas_object_cb, info)); 340 _legacy_evas_callback_table[type], _eo_evas_object_cb, info));
341 341
342 obj->callbacks = 342 obj->callbacks =
@@ -368,7 +368,7 @@ evas_object_event_callback_del_full(Evas_Object *eo_obj, Evas_Callback_Type type
368 if ((info->func == func) && (info->type == type) && info->data == data) 368 if ((info->func == func) && (info->type == type) && info->data == data)
369 { 369 {
370 void *tmp = info->data; 370 void *tmp = info->data;
371 eo_do(eo_obj, eo_event_callback_del( 371 eo_do(eo_obj, eo_event_callback_del(eo_obj,
372 _legacy_evas_callback_table[type], _eo_evas_object_cb, info)); 372 _legacy_evas_callback_table[type], _eo_evas_object_cb, info));
373 373
374 obj->callbacks = 374 obj->callbacks =
@@ -404,7 +404,7 @@ evas_event_callback_priority_add(Evas *eo_e, Evas_Callback_Type type, Evas_Callb
404 cb_info->type = type; 404 cb_info->type = type;
405 405
406 const Eo_Event_Description *desc = _legacy_evas_callback_table[type]; 406 const Eo_Event_Description *desc = _legacy_evas_callback_table[type];
407 eo_do(eo_e, eo_event_callback_priority_add(desc, priority, _eo_evas_cb, cb_info)); 407 eo_do(eo_e, eo_event_callback_priority_add(eo_e, desc, priority, _eo_evas_cb, cb_info));
408 408
409 e->callbacks = eina_inlist_append(e->callbacks, EINA_INLIST_GET(cb_info)); 409 e->callbacks = eina_inlist_append(e->callbacks, EINA_INLIST_GET(cb_info));
410} 410}
@@ -429,7 +429,7 @@ evas_event_callback_del(Evas *eo_e, Evas_Callback_Type type, Evas_Event_Cb func)
429 if ((info->func == func) && (info->type == type)) 429 if ((info->func == func) && (info->type == type))
430 { 430 {
431 void *tmp = info->data; 431 void *tmp = info->data;
432 eo_do(eo_e, eo_event_callback_del( 432 eo_do(eo_e, eo_event_callback_del(eo_e,
433 _legacy_evas_callback_table[type], _eo_evas_cb, info)); 433 _legacy_evas_callback_table[type], _eo_evas_cb, info));
434 434
435 e->callbacks = 435 e->callbacks =
@@ -461,7 +461,7 @@ evas_event_callback_del_full(Evas *eo_e, Evas_Callback_Type type, Evas_Event_Cb
461 if ((info->func == func) && (info->type == type) && (info->data == data)) 461 if ((info->func == func) && (info->type == type) && (info->data == data))
462 { 462 {
463 void *tmp = info->data; 463 void *tmp = info->data;
464 eo_do(eo_e, eo_event_callback_del( 464 eo_do(eo_e, eo_event_callback_del(eo_e,
465 _legacy_evas_callback_table[type], _eo_evas_cb, info)); 465 _legacy_evas_callback_table[type], _eo_evas_cb, info));
466 466
467 e->callbacks = 467 e->callbacks =