raster pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=6289eba6a440998ea67193ab983981cd0c31164f

commit 6289eba6a440998ea67193ab983981cd0c31164f
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Wed Jun 10 21:32:01 2015 +0900

    e menu - an extra object ref causes menus to never be freed
    
    this has been in e for ages - someone not noticed, but this fixes
    visual artifacts of left over menus on the top-left. this extra ref
    really makes no sense. it's not like this ref is then accomoanied by a
    matching unref somewhere else (after much debugging).
    
    @fix
---
 src/bin/e_menu.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/bin/e_menu.c b/src/bin/e_menu.c
index 5e5de41..f47e47c 100644
--- a/src/bin/e_menu.c
+++ b/src/bin/e_menu.c
@@ -1851,7 +1851,6 @@ _e_menu_unrealize(E_Menu *m)
         evas_object_pass_events_set(m->comp_object, 1);
         evas_object_hide(m->comp_object);
         E_FREE_FUNC(m->comp_object, evas_object_del);
-        e_object_ref(E_OBJECT(m));
         return;
      }
    if (m->comp_object)

-- 


Reply via email to