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) authored and Carlos R. Mafra committed 2014-01-31 19:38:18 +00:00
1 parent 3919363aa3
commit 4989097049
4 files changed
+5 -5

No files matched your search

+1 -1
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;
}