discomfitor pushed a commit to branch master.

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

commit 92481addac649391cd97d73f384dfe23603a4c87
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Wed Jan 6 17:05:44 2016 -0500

    widget: check next_item existence when focusing before calling widget fns
    
    ERR<eo>lib/eo/eo.c:753 Unable to resolve op for api func 0x7ffff7cc17ce
---
 src/lib/elm_widget.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/lib/elm_widget.c b/src/lib/elm_widget.c
index f917d29..97ef045 100644
--- a/src/lib/elm_widget.c
+++ b/src/lib/elm_widget.c
@@ -2432,7 +2432,8 @@ _elm_widget_focus_next_get(const Eo *obj, 
Elm_Widget_Smart_Data *sd, Elm_Focus_D
                *next_item = sd->item_focus_right;
              else if (dir == ELM_FOCUS_LEFT)
                *next_item = sd->item_focus_left;
-             o = elm_object_item_widget_get(*next_item);
+             if (*next_item)
+               o = elm_object_item_widget_get(*next_item);
 
              if (!o)
                {

-- 


Reply via email to