discomfitor pushed a commit to branch elementary-1.14.

http://git.enlightenment.org/core/elementary.git/commit/?id=d294698b15fa011be13f78ac0f7d4c660a779ce6

commit d294698b15fa011be13f78ac0f7d4c660a779ce6
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Tue Jun 16 17:00:44 2015 -0400

    win: only trigger del trap if win type is not FAKE
    
    @fix
---
 src/lib/elm_win.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c
index 410eac9..a7c0f4a 100644
--- a/src/lib/elm_win.c
+++ b/src/lib/elm_win.c
@@ -1759,7 +1759,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)

-- 


Reply via email to