forked from enlightenment/efl
efl_ui_widget: error on NULL passing
Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8747
This commit is contained in:
parent
7965e2e10f
commit
ea4b840539
|
@ -1485,7 +1485,6 @@ _efl_ui_widget_widget_sub_object_add(Eo *obj, Elm_Widget_Smart_Data *sd, Evas_Ob
|
|||
{
|
||||
Efl_Ui_Widget *parent;
|
||||
|
||||
if (!sobj) return EINA_FALSE;
|
||||
EINA_SAFETY_ON_FALSE_RETURN_VAL(efl_isa(sobj, EFL_GFX_ENTITY_INTERFACE), EINA_FALSE);
|
||||
EINA_SAFETY_ON_TRUE_RETURN_VAL(obj == sobj, EINA_FALSE);
|
||||
|
||||
|
|
Loading…
Reference in New Issue