discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=24f7285c391056b29dbbd506884fd6579fae3768

commit 24f7285c391056b29dbbd506884fd6579fae3768
Author: Hermet Park <hermetp...@gmail.com>
Date:   Thu Aug 2 09:08:43 2018 -0400

    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
---
 src/lib/elementary/efl_ui_bg_widget.c | 4 ++--
 1 file 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,
                  int b)
 {
    int a = 255;
-   EFL_UI_BG_WIDGET_CHECK(obj);
+   EFL_UI_BG_WIDGET_DATA_GET_OR_RETURN(obj, sd);
 
    // reset color
    if ((r == -1) && (g == -1) && (b == -1))
    {
       r = g = b = a = 0;
    }
-   efl_gfx_color_set(obj, r, g, b, a);
+   efl_gfx_color_set(sd->rect, r, g, b, a);
 }
 
 EOLIAN static void

-- 


Reply via email to