mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
Removed some old code causing undefined behavior.
There were leftovers from previous menu version, where icon will be set for certain MenuItem. However, some of those items are removed causing values to be set outside array's bounds. Yuck!
This commit is contained in:
parent
a024e66550
commit
3ff0844756
@ -241,9 +241,6 @@ void Desktop::init_internals(void) {
|
|||||||
dmenu = new edelib::MenuButton(0, 0, 500, 0);
|
dmenu = new edelib::MenuButton(0, 0, 500, 0);
|
||||||
dmenu->menu(desktop_menu);
|
dmenu->menu(desktop_menu);
|
||||||
desktop_menu[1].image(edelib::IconLoader::get("folder", edelib::ICON_SIZE_TINY));
|
desktop_menu[1].image(edelib::IconLoader::get("folder", edelib::ICON_SIZE_TINY));
|
||||||
desktop_menu[6].image(edelib::IconLoader::get("edit-copy", edelib::ICON_SIZE_TINY));
|
|
||||||
desktop_menu[7].image(edelib::IconLoader::get("edit-paste", edelib::ICON_SIZE_TINY));
|
|
||||||
|
|
||||||
wallpaper = new Wallpaper(0, 0, w(), h());
|
wallpaper = new Wallpaper(0, 0, w(), h());
|
||||||
end();
|
end();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user