aboutsummaryrefslogtreecommitdiff
path: root/nx-X11
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2019-08-11 01:51:37 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-08-27 08:27:00 +0200
commit208e58fb7594b24dc6eb8f287092d5080edabab5 (patch)
tree0c27786257fd19027f4e3822eb46a726580794e0 /nx-X11
parent9cd602b271cc846d654f7f5d9a455368e9ca2612 (diff)
downloadnx-libs-208e58fb7594b24dc6eb8f287092d5080edabab5.tar.gz
nx-libs-208e58fb7594b24dc6eb8f287092d5080edabab5.tar.bz2
nx-libs-208e58fb7594b24dc6eb8f287092d5080edabab5.zip
Splash.c: drop return code of nxagentShowSplashWindow
nobody was checking it.
Diffstat (limited to 'nx-X11')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Splash.c6
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Splash.h2
2 files changed, 3 insertions, 5 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Splash.c b/nx-X11/programs/Xserver/hw/nxagent/Splash.c
index e2e88674b..387c859ae 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Splash.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Splash.c
@@ -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)
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Splash.h b/nx-X11/programs/Xserver/hw/nxagent/Splash.h
index 444f1eed0..2057390fc 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Splash.h
+++ b/nx-X11/programs/Xserver/hw/nxagent/Splash.h
@@ -47,7 +47,7 @@ extern Window nxagentSplashWindow;
extern int nxagentWMPassed;
-extern int nxagentShowSplashWindow(Window);
+extern void nxagentShowSplashWindow(Window);
extern void nxagentRemoveSplashWindow(WindowPtr pWin);