forked from enlightenment/enlightenment
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
This commit is contained in:
parent
d73b3d1e70
commit
6289eba6a4
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue