summaryrefslogtreecommitdiff
path: root/src/lib/emotion/emotion_smart.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-10-07 16:25:49 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-10-12 11:25:55 +0900
commit52969ccd9beec884c330736b15e2776d4faf5154 (patch)
treef176612250a66e7491eb314d33153b771f9ef46b /src/lib/emotion/emotion_smart.c
parent39949b022d72c8a867f51ea2cadf04c0e8f1368e (diff)
evas: Remove method group_color_set
Widgets should simply override efl_gfx_color_set and call super all the way up to evas object. Legacy compatibility with call interceptors and early call abortion (eg. delete_me or obj->layer == NULL) are implemented with an internal call. See the previous commit introducing the API.
Diffstat (limited to 'src/lib/emotion/emotion_smart.c')
-rw-r--r--src/lib/emotion/emotion_smart.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/emotion/emotion_smart.c b/src/lib/emotion/emotion_smart.c
index 3ec92c5..3a9ebde 100644
--- a/src/lib/emotion/emotion_smart.c
+++ b/src/lib/emotion/emotion_smart.c
@@ -1966,8 +1966,12 @@ _efl_canvas_video_efl_canvas_group_group_hide(Evas_Object *obj EINA_UNUSED, Efl_
1966} 1966}
1967 1967
1968EOLIAN static void 1968EOLIAN static void
1969_efl_canvas_video_efl_canvas_group_group_color_set(Evas_Object *obj EINA_UNUSED, Efl_Canvas_Video_Data *sd, int r, int g, int b, int a) 1969_efl_canvas_video_efl_gfx_color_set(Evas_Object *obj, Efl_Canvas_Video_Data *sd, int r, int g, int b, int a)
1970{ 1970{
1971 if (_evas_object_intercept_call(obj, EVAS_OBJECT_INTERCEPT_CB_COLOR_SET, 0, r, g, b, a))
1972 return;
1973
1974 efl_gfx_color_set(efl_super(obj, MY_CLASS), r, g, b, a);
1971 evas_object_color_set(sd->obj, r, g, b, a); 1975 evas_object_color_set(sd->obj, r, g, b, a);
1972 evas_object_color_set(sd->crop.clipper, r, g, b, a); 1976 evas_object_color_set(sd->crop.clipper, r, g, b, a);
1973} 1977}