Commit 3c92d889 authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

Splash.c: drop return code of nxagentShowSplashWindow

nobody was checking it.
parent 470e0bd4
......@@ -78,7 +78,7 @@ extern Atom nxagentWMStart;
extern Atom serverCutProperty;
int nxagentShowSplashWindow(Window parentWindow)
void nxagentShowSplashWindow(Window parentWindow)
{
XWindowAttributes getAttributes;
XWindowChanges values;
......@@ -89,7 +89,7 @@ int nxagentShowSplashWindow(Window parentWindow)
* Show splash window only when running as X2Go Agent
*/
if(!nxagentX2go)
return False;
return;
#ifdef TEST
fprintf(stderr, "nxagentShowSplashWindow: Got called.\n");
......@@ -172,8 +172,6 @@ int nxagentShowSplashWindow(Window parentWindow)
GetTimeInMillis() - startTime);
}
#endif
return True;
}
void nxagentPaintLogo(Window win, GC gc, int scale, int width, int height)
......
......@@ -47,7 +47,7 @@ extern Window nxagentSplashWindow;
extern int nxagentWMPassed;
extern int nxagentShowSplashWindow(Window);
extern void nxagentShowSplashWindow(Window);
extern void nxagentRemoveSplashWindow(WindowPtr pWin);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment