[X2Go-Commits] [nx-libs] 277/429: nxcomp/Children.cpp: print a message if the dialog could not be displayed

git-admin at x2go.org git-admin at x2go.org
Mon Oct 18 09:36:48 CEST 2021


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch 3.6.x
in repository nx-libs.

commit 1338cffc940eb3c3291ee8bea098f79545e969da
Author: Ulrich Sibiller <uli42 at gmx.de>
Date:   Sun Feb 28 21:49:21 2021 +0100

    nxcomp/Children.cpp: print a message if the dialog could not be displayed
---
 nxcomp/src/Children.cpp | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/nxcomp/src/Children.cpp b/nxcomp/src/Children.cpp
index 829c6fbad..2e89f2e68 100644
--- a/nxcomp/src/Children.cpp
+++ b/nxcomp/src/Children.cpp
@@ -343,6 +343,15 @@ int NXTransDialog(const char *caption, const char *message,
     }
   }
 
+  #ifdef TEST
+  *logofs << "NXTransDialog: WARNING! Could not display dialog.\n"
+          << logofs_flush;
+  #endif
+
+  #ifdef WARNING
+  cerr << "Warning" << ": Could not display dialog.\n";
+  #endif
+
   //
   // Hopefully useless.
   //

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git


More information about the x2go-commits mailing list