From 0717a0f07e5fb1163fc3888f5c9d8a55a4898f9e Mon Sep 17 00:00:00 2001 From: Christophe CURIS Date: Sun, 13 Oct 2013 15:41:53 +0200 Subject: [PATCH] Removed parameters to function 'open_window_menu_core' that were not used --- src/winmenu.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/winmenu.c b/src/winmenu.c index 82017477..f2a10ee8 100644 --- a/src/winmenu.c +++ b/src/winmenu.c @@ -560,7 +560,7 @@ static void updateMenuForWindow(WMenu * menu, WWindow * wwin) wMenuRealize(menu); } -static WMenu *open_window_menu_core(WWindow *wwin, int x, int y) +static WMenu *open_window_menu_core(WWindow *wwin) { WScreen *scr = wwin->screen_ptr; WMenu *menu; @@ -607,7 +607,7 @@ void OpenWindowMenu(WWindow *wwin, int x, int y, int keyboard) { WMenu *menu; - menu = open_window_menu_core(wwin, x, y); + menu = open_window_menu_core(wwin); if (!menu) return; @@ -630,7 +630,7 @@ void OpenWindowMenu2(WWindow *wwin, int x, int y, int keyboard) int i; WMenu *menu; - menu = open_window_menu_core(wwin, x, y); + menu = open_window_menu_core(wwin); if (!menu) return; @@ -653,7 +653,7 @@ void OpenMiniwindowMenu(WWindow * wwin, int x, int y) { WMenu *menu; - menu = open_window_menu_core(wwin, x, y); + menu = open_window_menu_core(wwin); if (!menu) return;