summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHermet Park <hermetpark@gmail.com>2018-08-02 09:08:43 -0400
committerMike Blumenkrantz <zmike@samsung.com>2018-08-02 09:08:43 -0400
commit24f7285c391056b29dbbd506884fd6579fae3768 (patch)
tree6281878548d34773f2e69ee65a05587022c03db6
parent1a75537ab8cb56f205632290a89fe2d89f4646d4 (diff)
elementary bg: fix to guarantee compatibility.
Summary: This is additional fix to b9b209f60f040d0afbccc1db0c96c8e36d14e682. Reviewers: #committers, zmike Reviewed By: #committers, zmike Subscribers: cedric, #committers, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6727
-rw-r--r--src/lib/elementary/efl_ui_bg_widget.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elementary/efl_ui_bg_widget.c b/src/lib/elementary/efl_ui_bg_widget.c
index 8662516ad2..cd05d060a7 100644
--- a/src/lib/elementary/efl_ui_bg_widget.c
+++ b/src/lib/elementary/efl_ui_bg_widget.c
@@ -152,14 +152,14 @@ elm_bg_color_set(Evas_Object *obj,
152 int b) 152 int b)
153{ 153{
154 int a = 255; 154 int a = 255;
155 EFL_UI_BG_WIDGET_CHECK(obj); 155 EFL_UI_BG_WIDGET_DATA_GET_OR_RETURN(obj, sd);
156 156
157 // reset color 157 // reset color
158 if ((r == -1) && (g == -1) && (b == -1)) 158 if ((r == -1) && (g == -1) && (b == -1))
159 { 159 {
160 r = g = b = a = 0; 160 r = g = b = a = 0;
161 } 161 }
162 efl_gfx_color_set(obj, r, g, b, a); 162 efl_gfx_color_set(sd->rect, r, g, b, a);
163} 163}
164 164
165EOLIAN static void 165EOLIAN static void