Multibutton entry - handle parent object null case.

Reviewers: seoz, Hermet

Subscribers: Hermet, seoz

Maniphest Tasks: T1379

Differential Revision: https://phab.enlightenment.org/D1254
This commit is contained in:
Sanjeev BA 2014-12-15 17:47:05 +09:00 committed by Carsten Haitzler (Rasterman)
parent 69dc603bdb
commit 00cbb2a2e2
1 changed files with 1 additions and 1 deletions

View File

@ -1177,7 +1177,7 @@ _elm_widget_sub_object_del(Eo *obj, Elm_Widget_Smart_Data *sd, Evas_Object *sobj
EINA_SAFETY_ON_TRUE_RETURN_VAL(obj == sobj, EINA_FALSE);
sobj_parent = evas_object_data_del(sobj, "elm-parent");
if (sobj_parent != obj)
if (sobj_parent && sobj_parent != obj)
{
static int abort_on_warn = -1;