discomfitor pushed a commit to branch enlightenment-0.19.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=8a1634266c3094098301c516267b95daa68a86eb

commit 8a1634266c3094098301c516267b95daa68a86eb
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Tue Sep 22 12:36:12 2015 -0400

    block gadcon thaw on unpopulate when gadcon is deleted
    
    saves a huge amount of unnecessary calc time
---
 src/bin/e_gadcon.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_gadcon.c b/src/bin/e_gadcon.c
index 2dd8a70..91177d8 100644
--- a/src/bin/e_gadcon.c
+++ b/src/bin/e_gadcon.c
@@ -611,7 +611,8 @@ e_gadcon_unpopulate(E_Gadcon *gc)
    if (gc->awaiting_classes)
      eina_hash_free(gc->awaiting_classes);
    gc->awaiting_classes = NULL;
-   if (gc->o_container && (!stopping)) e_gadcon_layout_thaw(gc->o_container);
+   if (gc->o_container && (!stopping) && (!e_object_is_del(E_OBJECT(gc))))
+     e_gadcon_layout_thaw(gc->o_container);
 }
 
 E_API void

-- 


Reply via email to