old_clipper = evas_object_clip_get(objA);
evas_object_clip_unset(obj_A);
evas_object_clip_set(obj_A, new_clipper);
evas_object_del(old_clipper);
when old_clipper deleted, _clipper_del_cb unset the current new_clipper of obj_A.
opensource_commit:
258b42b47be4cda891c2c92a8be13b6cef199063
Author: Jiyoun Park <jy0703.park@samsung.com>
Date: Fri Apr 7 11:35:55 2017 +0900
Change-Id: Ibc2f494f1d1243116b1ea15804a4222463ee90df
EVAS_OBJECT_DATA_VALID_CHECK(obj, EO_CALLBACK_CONTINUE);
- _evas_object_clip_unset(eo_obj, obj);
+ if (EINA_LIKELY(obj->cur->clipper && (obj->cur->clipper == clip)))
+ _evas_object_clip_unset(eo_obj, obj);
if (obj->prev->clipper && (obj->prev->clipper == clip))
{
// not removing cb since it's the del cb... it can't be called again!