aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/elm_widget.c
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel@osg.samsung.com>2017-10-17 17:19:12 +0200
committerMarcel Hollerbach <marcel@osg.samsung.com>2017-10-17 17:31:23 +0200
commit0376092c7836f1ef89f0735bebe71545ab0e48fa (patch)
tree17daa8d320b44e4c8ed6713f36651f8d910a0745 /src/lib/elementary/elm_widget.c
parentelm_widget: also do not register if the top widget is not a win (diff)
downloadefl-0376092c7836f1ef89f0735bebe71545ab0e48fa.tar.gz
elm_widget: print a error if there is no provider
Diffstat (limited to 'src/lib/elementary/elm_widget.c')
-rw-r--r--src/lib/elementary/elm_widget.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_widget.c b/src/lib/elementary/elm_widget.c
index 9845c6b885..fcc71abfeb 100644
--- a/src/lib/elementary/elm_widget.c
+++ b/src/lib/elementary/elm_widget.c
@@ -474,6 +474,7 @@ _logical_parent_eval(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *pd, Eina_Bool s
if (should)
{
provider = efl_provider_find(obj, EFL_UI_FOCUS_PARENT_PROVIDER_INTERFACE);
+ EINA_SAFETY_ON_NULL_RETURN_VAL(provider, NULL);
parent = efl_ui_focus_parent_provider_find_logical_parent(provider, obj);
}
else