summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2018-07-31 18:49:57 -0400
committerChris Michael <cp.michael@samsung.com>2018-07-31 18:49:57 -0400
commitb9b209f60f040d0afbccc1db0c96c8e36d14e682 (patch)
treef80318eed9a32be1d220882e756fd39a79759266
parent2f9a65844e64517e129cce3b82f44a5f4f1fc562 (diff)
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
-rw-r--r--src/lib/elementary/efl_ui_bg_widget.c3
1 files changed, 2 insertions, 1 deletions
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,
163} 163}
164 164
165EOLIAN static void 165EOLIAN static void
166_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) 166_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)
167{ 167{
168 efl_gfx_color_set(efl_super(obj, MY_CLASS), r, g, b, a);
168 efl_gfx_color_set(sd->rect, r, g, b, a); 169 efl_gfx_color_set(sd->rect, r, g, b, a);
169} 170}
170 171