1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-20 04:48:06 +01:00

Remove unused function raiseMenus()

GCC warns:

rootmenu.c:350: warning: 'raiseMenus' defined but not used
This commit is contained in:
Carlos R. Mafra
2009-12-21 23:00:33 +01:00
parent 024e2f5299
commit efa31f30b2

View File

@@ -347,19 +347,6 @@ static char *getLocalizedMenuFile(char *menu)
return NULL; return NULL;
} }
static void raiseMenus(WMenu * menu)
{
int i;
if (menu->flags.mapped) {
wRaiseFrame(menu->frame->core);
}
for (i = 0; i < menu->cascade_no; i++) {
if (menu->cascades[i])
raiseMenus(menu->cascades[i]);
}
}
Bool wRootMenuPerformShortcut(XEvent * event) Bool wRootMenuPerformShortcut(XEvent * event)
{ {
WScreen *scr = wScreenForRootWindow(event->xkey.root); WScreen *scr = wScreenForRootWindow(event->xkey.root);