forked from enlightenment/enlightenment
In menu end, delete objects rather than unref
SVN revision: 12915
This commit is contained in:
parent
2c59a51e4d
commit
db749ef41e
|
@ -169,9 +169,9 @@ _e_int_menus_main_end(void *data, E_Menu *m)
|
||||||
Main_Data *dat;
|
Main_Data *dat;
|
||||||
|
|
||||||
dat = data;
|
dat = data;
|
||||||
e_object_unref(E_OBJECT(dat->apps));
|
e_object_del(E_OBJECT(dat->apps));
|
||||||
e_object_unref(E_OBJECT(dat->modules));
|
e_object_del(E_OBJECT(dat->modules));
|
||||||
e_object_unref(E_OBJECT(m));
|
e_object_del(E_OBJECT(m));
|
||||||
free(dat);
|
free(dat);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -260,7 +260,7 @@ _e_int_menus_apps_end(void *data, E_Menu *m)
|
||||||
if (mi->submenu)
|
if (mi->submenu)
|
||||||
_e_int_menus_apps_end(NULL, mi->submenu);
|
_e_int_menus_apps_end(NULL, mi->submenu);
|
||||||
}
|
}
|
||||||
e_object_unref(E_OBJECT(m));
|
e_object_del(E_OBJECT(m));
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in New Issue