rimmed pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=eae9499906e1f02a9eee558c9f5e31357606c578

commit eae9499906e1f02a9eee558c9f5e31357606c578
Author: Vyacheslav Reutskiy <v.reuts...@samsung.com>
Date:   Wed Feb 17 17:43:00 2016 +0200

    elm_widget: do not set NULL as parent for object
    
    When widget has no parent object, it breakes usage of a custom
    Elm_Theme. This commit fixes it.
    
    @fix
---
 src/lib/elm_widget.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elm_widget.c b/src/lib/elm_widget.c
index fd00284..b13a2d9 100644
--- a/src/lib/elm_widget.c
+++ b/src/lib/elm_widget.c
@@ -1289,7 +1289,7 @@ _elm_widget_sub_object_del(Eo *obj, Elm_Widget_Smart_Data 
*sd, Evas_Object *sobj
           }
 
         ELM_WIDGET_DATA_GET(sobj, sdc);
-        sdc->parent_obj = NULL;
+        sdc->parent_obj = elm_widget_top_get(obj);
      }
 
    if (sd->resize_obj == sobj) sd->resize_obj = NULL;

-- 


Reply via email to