From b9b209f60f040d0afbccc1db0c96c8e36d14e682 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Tue, 31 Jul 2018 18:49:57 -0400 Subject: [PATCH] elm/bg: call color_set up the class chain internally Summary: this ensures that the color_set call is propagated correctly, resulting eventually in a call to the smart clipped class method for color_set which will change the opacity of the edje object in addition to the bg widget's internal rect object this seems to have been a regression created during the move to the interfaces version of the bg widget fix T7232 Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric, #committers Tags: #efl_widgets Maniphest Tasks: T7232 Differential Revision: https://phab.enlightenment.org/D6716 --- src/lib/elementary/efl_ui_bg_widget.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/elementary/efl_ui_bg_widget.c b/src/lib/elementary/efl_ui_bg_widget.c index dcd8fc409e..8662516ad2 100644 --- a/src/lib/elementary/efl_ui_bg_widget.c +++ b/src/lib/elementary/efl_ui_bg_widget.c @@ -163,8 +163,9 @@ elm_bg_color_set(Evas_Object *obj, } EOLIAN static void -_efl_ui_bg_widget_efl_gfx_color_color_set(Eo *obj EINA_UNUSED, Efl_Ui_Bg_Widget_Data *sd, int r, int g, int b, int a) +_efl_ui_bg_widget_efl_gfx_color_color_set(Eo *obj, Efl_Ui_Bg_Widget_Data *sd, int r, int g, int b, int a) { + efl_gfx_color_set(efl_super(obj, MY_CLASS), r, g, b, a); efl_gfx_color_set(sd->rect, r, g, b, a); }