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
This commit is contained in:
Mike Blumenkrantz 2018-07-31 18:49:57 -04:00 committed by Chris Michael
parent 2f9a65844e
commit b9b209f60f
1 changed files with 2 additions and 1 deletions

View File

@ -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);
}