1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-23 14:42:29 +01:00

wmaker: Removed unused argument in function 'wDockFinishLaunch'

The function did not use the argument 'dock', so remove it.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
Christophe CURIS
2013-11-02 17:36:32 +01:00
committed by Carlos R. Mafra
parent 8b1babc5b3
commit e56438d2c1
3 changed files with 5 additions and 5 deletions

View File

@@ -3180,7 +3180,7 @@ void wDockRaiseLower(WDock *dock)
wDockRaise(dock);
}
void wDockFinishLaunch(WDock *dock, WAppIcon *icon)
void wDockFinishLaunch(WAppIcon *icon)
{
icon->launching = 0;
icon->relaunching = 0;
@@ -3275,7 +3275,7 @@ void wDockTrackWindowLaunch(WDock *dock, Window window)
XUnmapWindow(dpy, aicon->icon->core->window);
wAppIconDestroy(aicon);
}
wDockFinishLaunch(dock, icon);
wDockFinishLaunch(icon);
break;
}
}
@@ -3346,7 +3346,7 @@ static void trackDeadProcess(pid_t pid, unsigned char status, WDock *dock)
icon->running = 0;
icon->main_window = None;
}
wDockFinishLaunch(dock, icon);
wDockFinishLaunch(icon);
icon->pid = 0;
if (status == 111) {
char msg[PATH_MAX];