Efl.Canvas.Group: use desired function
authorShinwoo Kim <cinoo.kim@samsung.com>
Thu, 2 Aug 2018 13:10:41 +0000 (09:10 -0400)
committerYeongjong Lee <yj34.lee@samsung.com>
Wed, 8 Aug 2018 01:54:15 +0000 (10:54 +0900)
commit7326b3a9c8b9dc7a54a101a82dc7908600cd0249
treeb6c478345defe2fc68389cee04eb198843720cc0
parent8993cd52b68092d24a24c0151f1eab8f9dfca30f
Efl.Canvas.Group: use desired function

Summary:
If a smart class overrides Evas_Smart_Class.move as below,
then original behavior must not be used for the smart class.

   Evas_Smart_Class sc = EVAS_SMART_CLASS_INIT_NAME_VERSION("MyClass");
   evas_object_smart_clipped_smart_set(&sc);
   sc.move = &myMove;

But current implementation makes original behavior work.
So before using the original method, this patch is checking if the original
method is changed or not.

Reviewers: zmike, devilhorns

Reviewed By: zmike

Subscribers: woohyun, jypark, cedric, raster, jpeg, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D6468
src/lib/evas/canvas/evas_object_smart.c
src/lib/evas/canvas/evas_object_smart_clipped.c
src/lib/evas/include/evas_private.h