summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_callbacks.c
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2014-06-26 22:29:46 +0100
committerTom Hacohen <tom@stosb.com>2014-06-30 17:47:06 +0100
commit7f3a44894bf336c190320ea7801d22c2436250f5 (patch)
treedbcbac9e0f867b1e15c33b64a91696ecc70ca5d4 /src/lib/evas/canvas/evas_callbacks.c
parentaa450fa8dd330e32f0ca7c4ae6afcd802545050f (diff)
Evas canvas eolian: Fix namespace and class name for the evas canvas.
Diffstat (limited to 'src/lib/evas/canvas/evas_callbacks.c')
-rw-r--r--src/lib/evas/canvas/evas_callbacks.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/evas/canvas/evas_callbacks.c b/src/lib/evas/canvas/evas_callbacks.c
index 8de0824a96..863c81faf5 100644
--- a/src/lib/evas/canvas/evas_callbacks.c
+++ b/src/lib/evas/canvas/evas_callbacks.c
@@ -123,7 +123,7 @@ _evas_post_event_callback_call(Evas *eo_e, Evas_Public_Data *e)
123void 123void
124_evas_post_event_callback_free(Evas *eo_e) 124_evas_post_event_callback_free(Evas *eo_e)
125{ 125{
126 Evas_Public_Data *e = eo_data_scope_get(eo_e, EVAS_CLASS); 126 Evas_Public_Data *e = eo_data_scope_get(eo_e, EVAS_CANVAS_CLASS);
127 Evas_Post_Callback *pc; 127 Evas_Post_Callback *pc;
128 128
129 EINA_LIST_FREE(e->post_events, pc) 129 EINA_LIST_FREE(e->post_events, pc)
@@ -163,7 +163,7 @@ evas_event_callback_all_del(Evas *eo_e)
163{ 163{
164 _eo_evas_object_cb_info *info; 164 _eo_evas_object_cb_info *info;
165 Eina_Inlist *itr; 165 Eina_Inlist *itr;
166 Evas_Public_Data *e = eo_data_scope_get(eo_e, EVAS_CLASS); 166 Evas_Public_Data *e = eo_data_scope_get(eo_e, EVAS_CANVAS_CLASS);
167 167
168 if (!e) return; 168 if (!e) return;
169 if (!e->callbacks) return; 169 if (!e->callbacks) return;
@@ -379,7 +379,7 @@ evas_event_callback_add(Evas *eo_e, Evas_Callback_Type type, Evas_Event_Cb func,
379EAPI void 379EAPI void
380evas_event_callback_priority_add(Evas *eo_e, Evas_Callback_Type type, Evas_Callback_Priority priority, Evas_Event_Cb func, const void *data) 380evas_event_callback_priority_add(Evas *eo_e, Evas_Callback_Type type, Evas_Callback_Priority priority, Evas_Event_Cb func, const void *data)
381{ 381{
382 Evas_Public_Data *e = eo_data_scope_get(eo_e, EVAS_CLASS); 382 Evas_Public_Data *e = eo_data_scope_get(eo_e, EVAS_CANVAS_CLASS);
383 383
384 MAGIC_CHECK(eo_e, Evas, MAGIC_EVAS); 384 MAGIC_CHECK(eo_e, Evas, MAGIC_EVAS);
385 return; 385 return;
@@ -401,7 +401,7 @@ evas_event_callback_priority_add(Evas *eo_e, Evas_Callback_Type type, Evas_Callb
401EAPI void * 401EAPI void *
402evas_event_callback_del(Evas *eo_e, Evas_Callback_Type type, Evas_Event_Cb func) 402evas_event_callback_del(Evas *eo_e, Evas_Callback_Type type, Evas_Event_Cb func)
403{ 403{
404 Evas_Public_Data *e = eo_data_scope_get(eo_e, EVAS_CLASS); 404 Evas_Public_Data *e = eo_data_scope_get(eo_e, EVAS_CANVAS_CLASS);
405 _eo_evas_cb_info *info; 405 _eo_evas_cb_info *info;
406 406
407 MAGIC_CHECK(eo_e, Evas, MAGIC_EVAS); 407 MAGIC_CHECK(eo_e, Evas, MAGIC_EVAS);
@@ -438,7 +438,7 @@ evas_event_callback_del_full(Evas *eo_e, Evas_Callback_Type type, Evas_Event_Cb
438 MAGIC_CHECK(eo_e, Evas, MAGIC_EVAS); 438 MAGIC_CHECK(eo_e, Evas, MAGIC_EVAS);
439 return NULL; 439 return NULL;
440 MAGIC_CHECK_END(); 440 MAGIC_CHECK_END();
441 Evas_Public_Data *e = eo_data_scope_get(eo_e, EVAS_CLASS); 441 Evas_Public_Data *e = eo_data_scope_get(eo_e, EVAS_CANVAS_CLASS);
442 442
443 if (!e) return NULL; 443 if (!e) return NULL;
444 if (!func) return NULL; 444 if (!func) return NULL;
@@ -471,7 +471,7 @@ evas_post_event_callback_push(Evas *eo_e, Evas_Object_Event_Post_Cb func, const
471 return; 471 return;
472 MAGIC_CHECK_END(); 472 MAGIC_CHECK_END();
473 473
474 Evas_Public_Data *e = eo_data_scope_get(eo_e, EVAS_CLASS); 474 Evas_Public_Data *e = eo_data_scope_get(eo_e, EVAS_CANVAS_CLASS);
475 if (!e) return; 475 if (!e) return;
476 EVAS_MEMPOOL_INIT(_mp_pc, "evas_post_callback", Evas_Post_Callback, 64, ); 476 EVAS_MEMPOOL_INIT(_mp_pc, "evas_post_callback", Evas_Post_Callback, 64, );
477 pc = EVAS_MEMPOOL_ALLOC(_mp_pc, Evas_Post_Callback); 477 pc = EVAS_MEMPOOL_ALLOC(_mp_pc, Evas_Post_Callback);
@@ -494,7 +494,7 @@ evas_post_event_callback_remove(Evas *eo_e, Evas_Object_Event_Post_Cb func)
494 return; 494 return;
495 MAGIC_CHECK_END(); 495 MAGIC_CHECK_END();
496 496
497 Evas_Public_Data *e = eo_data_scope_get(eo_e, EVAS_CLASS); 497 Evas_Public_Data *e = eo_data_scope_get(eo_e, EVAS_CANVAS_CLASS);
498 if (!e) return; 498 if (!e) return;
499 EINA_LIST_FOREACH(e->post_events, l, pc) 499 EINA_LIST_FOREACH(e->post_events, l, pc)
500 { 500 {
@@ -516,7 +516,7 @@ evas_post_event_callback_remove_full(Evas *eo_e, Evas_Object_Event_Post_Cb func,
516 return; 516 return;
517 MAGIC_CHECK_END(); 517 MAGIC_CHECK_END();
518 518
519 Evas_Public_Data *e = eo_data_scope_get(eo_e, EVAS_CLASS); 519 Evas_Public_Data *e = eo_data_scope_get(eo_e, EVAS_CANVAS_CLASS);
520 if (!e) return; 520 if (!e) return;
521 EINA_LIST_FOREACH(e->post_events, l, pc) 521 EINA_LIST_FOREACH(e->post_events, l, pc)
522 { 522 {