From da751bc1af078dcac926e4f6a67595c7374a2f92 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Tue, 19 Feb 2013 13:43:18 +0000 Subject: [PATCH] only delete popup's comp win if the popup has been deleted SVN revision: 84236 --- src/bin/e_popup.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/e_popup.c b/src/bin/e_popup.c index 468446cca..e5a8cc4df 100644 --- a/src/bin/e_popup.c +++ b/src/bin/e_popup.c @@ -200,7 +200,8 @@ e_popup_hide(E_Popup *pop) if (pop->cw) { e_comp_win_hide(pop->cw); - e_comp_win_del(pop->cw); + if (e_object_is_del(E_OBJECT(pop))) + e_comp_win_del(pop->cw); } if (!pop->autoclose) return; if (e_object_is_del(E_OBJECT(pop))) return;