yakov pushed a commit to branch master.

http://git.enlightenment.org/tools/erigo.git/commit/?id=3ba9fa11c13ea0f601c97e515425d3b1ac7c351f

commit 3ba9fa11c13ea0f601c97e515425d3b1ac7c351f
Author: Yakov Goldberg <yako...@samsung.com>
Date:   Tue Nov 24 18:37:58 2015 +0200

    Use proper API to check type of container
---
 src/bin/gui/editor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/gui/editor.c b/src/bin/gui/editor.c
index 946476f..00f41ab 100644
--- a/src/bin/gui/editor.c
+++ b/src/bin/gui/editor.c
@@ -3529,7 +3529,7 @@ _field_update_from_itemview(void *data EINA_UNUSED, Eo 
*obj, const Eo_Event_Desc
 
                   Eid *prev_parent_cont_eid = wdg_parent_container_eid_get(w);
                   Gui_Widget *prev_wdg_container = prev_parent_cont_eid ? 
wdg_get(prev_parent_cont_eid) : NULL;
-                  if (prev_wdg_container && 
wdg_obj_container_get(prev_wdg_container))
+                  if (prev_wdg_container && 
(wdg_container_type_get(prev_wdg_container) == OBJ_CONTAINER))
                     {
                        Object_Container *_old_prev_container, 
*_new_prev_container;
                        _old_prev_container = (Object_Container *) 
wdg_obj_container_get((Gui_Widget *) prev_wdg_container);

-- 


Reply via email to