mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-14 21:15:50 +01:00
GetWindow function, argument not used
The argument "panel" in the function GetWindow() is not used. This patch removes this argument to avoid compiler warnings.
This commit is contained in:
committed by
Carlos R. Mafra
parent
3919363aa3
commit
4989097049
@@ -80,7 +80,7 @@ static pid_t downloadFile(WMScreen * scr, _Panel * panel, const char *file)
|
||||
if (pid < 0) {
|
||||
werror("could not fork() process");
|
||||
|
||||
WMRunAlertPanel(scr, GetWindow(panel), _("Error"),
|
||||
WMRunAlertPanel(scr, GetWindow(), _("Error"),
|
||||
"Could not start download. fork() failed", _("OK"), NULL, NULL);
|
||||
return -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user