summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_clip.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/canvas/evas_clip.c')
-rw-r--r--src/lib/evas/canvas/evas_clip.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/evas/canvas/evas_clip.c b/src/lib/evas/canvas/evas_clip.c
index 48bfd5c..f1c5e4b 100644
--- a/src/lib/evas/canvas/evas_clip.c
+++ b/src/lib/evas/canvas/evas_clip.c
@@ -279,7 +279,7 @@ _evas_object_clip_set(Eo *eo_obj, Evas_Object_Protected_Data *obj, Evas_Object *
279 } 279 }
280 if (obj->is_smart) 280 if (obj->is_smart)
281 { 281 {
282 eo_do(eo_obj, evas_obj_smart_clip_set(eo_clip)); 282 evas_obj_smart_clip_set(eo_obj, eo_clip);
283 } 283 }
284 if (obj->cur->clipper) 284 if (obj->cur->clipper)
285 { 285 {
@@ -327,7 +327,7 @@ _evas_object_clip_set(Eo *eo_obj, Evas_Object_Protected_Data *obj, Evas_Object *
327 state_write->clipper = NULL; 327 state_write->clipper = NULL;
328 EINA_COW_STATE_WRITE_END(obj, state_write, cur); 328 EINA_COW_STATE_WRITE_END(obj, state_write, cur);
329 if (obj->prev->clipper != old_clip) 329 if (obj->prev->clipper != old_clip)
330 eo_do(old_clip->object, eo_event_callback_del(EO_BASE_EVENT_DEL, _clipper_del_cb, eo_obj)); 330 eo_event_callback_del(old_clip->object, EO_BASE_EVENT_DEL, _clipper_del_cb, eo_obj);
331 } 331 }
332 332
333 /* image object clipper */ 333 /* image object clipper */
@@ -359,7 +359,7 @@ _evas_object_clip_set(Eo *eo_obj, Evas_Object_Protected_Data *obj, Evas_Object *
359 state_write->clipper = clip; 359 state_write->clipper = clip;
360 EINA_COW_STATE_WRITE_END(obj, state_write, cur); 360 EINA_COW_STATE_WRITE_END(obj, state_write, cur);
361 if (obj->prev->clipper != clip) 361 if (obj->prev->clipper != clip)
362 eo_do(clip->object, eo_event_callback_add(EO_BASE_EVENT_DEL, _clipper_del_cb, eo_obj)); 362 eo_event_callback_add(clip->object, EO_BASE_EVENT_DEL, _clipper_del_cb, eo_obj);
363 363
364 clip->clip.cache_clipees_answer = eina_list_free(clip->clip.cache_clipees_answer); 364 clip->clip.cache_clipees_answer = eina_list_free(clip->clip.cache_clipees_answer);
365 clip->clip.clipees = eina_list_append(clip->clip.clipees, obj); 365 clip->clip.clipees = eina_list_append(clip->clip.clipees, obj);
@@ -413,7 +413,7 @@ _evas_object_clip_unset(Eo *eo_obj, Evas_Object_Protected_Data *obj)
413 if (evas_object_intercept_call_clip_unset(eo_obj, obj)) return; 413 if (evas_object_intercept_call_clip_unset(eo_obj, obj)) return;
414 if (obj->is_smart) 414 if (obj->is_smart)
415 { 415 {
416 eo_do(eo_obj, evas_obj_smart_clip_unset()); 416 evas_obj_smart_clip_unset(eo_obj);
417 } 417 }
418 if (obj->cur->clipper) 418 if (obj->cur->clipper)
419 { 419 {
@@ -456,7 +456,7 @@ _evas_object_clip_unset(Eo *eo_obj, Evas_Object_Protected_Data *obj)
456 state_write->clipper = NULL; 456 state_write->clipper = NULL;
457 EINA_COW_STATE_WRITE_END(obj, state_write, cur); 457 EINA_COW_STATE_WRITE_END(obj, state_write, cur);
458 if (obj->prev->clipper != old_clip) 458 if (obj->prev->clipper != old_clip)
459 eo_do(old_clip->object, eo_event_callback_del(EO_BASE_EVENT_DEL, _clipper_del_cb, eo_obj)); 459 eo_event_callback_del(old_clip->object, EO_BASE_EVENT_DEL, _clipper_del_cb, eo_obj);
460 } 460 }
461 461
462 evas_object_change(eo_obj, obj); 462 evas_object_change(eo_obj, obj);
@@ -510,7 +510,7 @@ _evas_object_clip_prev_reset(Evas_Object_Protected_Data *obj, Eina_Bool cur_prev
510 EINA_COW_STATE_WRITE_END(obj, state_write, prev); 510 EINA_COW_STATE_WRITE_END(obj, state_write, prev);
511 } 511 }
512 if (clip != obj->cur->clipper) 512 if (clip != obj->cur->clipper)
513 eo_do(clip->object, eo_event_callback_del(EO_BASE_EVENT_DEL, _clipper_del_cb, obj->object)); 513 eo_event_callback_del(clip->object, EO_BASE_EVENT_DEL, _clipper_del_cb, obj->object);
514 } 514 }
515} 515}
516 516