discomfitor pushed a commit to branch enlightenment-0.19.


commit 40caec09e90148b1bde133f3330acea3b8e2b55f
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).
 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 041bf7f..070bf86 100644
--- a/src/bin/e_menu.c
+++ b/src/bin/e_menu.c
@@ -1957,7 +1957,6 @@ _e_menu_unrealize(E_Menu *m)
         evas_object_pass_events_set(m->comp_object, 1);
         E_FREE_FUNC(m->comp_object, evas_object_del);
-        e_object_ref(E_OBJECT(m));
    if (m->comp_object)


Reply via email to