1
0
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:
Rodolfo García Peñas (kix)
2014-01-31 20:07:57 +01:00
committed by Carlos R. Mafra
parent 3919363aa3
commit 4989097049
4 changed files with 5 additions and 5 deletions

View File

@@ -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;
}