win: only trigger del trap if win type is not FAKE

@fix
This commit is contained in:
Mike Blumenkrantz 2015-06-16 17:00:44 -04:00
parent 6061ed0a75
commit cb37de01f6
1 changed files with 1 additions and 1 deletions

View File

@ -1799,7 +1799,7 @@ _elm_win_evas_object_smart_del(Eo *obj, Elm_Win_Data *sd)
/* NB: child deletion handled by parent's smart del */
if ((trap) && (trap->del))
if ((sd->type != ELM_WIN_FAKE) && (trap) && (trap->del))
trap->del(sd->trap_data, obj);
if (sd->parent)