summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-01-06 17:05:44 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-01-06 17:09:01 -0500
commit92481addac649391cd97d73f384dfe23603a4c87 (patch)
treebee4f779bb6dded297e85b8b7442f28dc230b525
parent60020c321187190e5314f6340a34541a3aeaedf8 (diff)
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
-rw-r--r--src/lib/elm_widget.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/elm_widget.c b/src/lib/elm_widget.c
index f917d2917..97ef04543 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
2432 *next_item = sd->item_focus_right; 2432 *next_item = sd->item_focus_right;
2433 else if (dir == ELM_FOCUS_LEFT) 2433 else if (dir == ELM_FOCUS_LEFT)
2434 *next_item = sd->item_focus_left; 2434 *next_item = sd->item_focus_left;
2435 o = elm_object_item_widget_get(*next_item); 2435 if (*next_item)
2436 o = elm_object_item_widget_get(*next_item);
2436 2437
2437 if (!o) 2438 if (!o)
2438 { 2439 {