[X2Go-Commits] [x2goclient] 244/280: src/onmainwindow.{cpp, h}: make startSshd () private.

git-admin at x2go.org git-admin at x2go.org
Wed Jan 18 12:26:12 CET 2017


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

x2go pushed a commit to branch bugfix/osx
in repository x2goclient.

commit 53911487e9d26e8824a3930e7c8ccafce910a45d
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Wed Oct 26 18:21:13 2016 +0200

    src/onmainwindow.{cpp,h}: make startSshd () private.
    
    There's no need to keep it public, as only class-internal functions are
    using it.
---
 debian/changelog   |    2 ++
 src/onmainwindow.h |    2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 65ff80e..cc64a50 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -461,6 +461,8 @@ x2goclient (4.0.5.3-0x2go1) UNRELEASED; urgency=medium
       startSshd ().
     - src/onmainwindow.cpp: add listening-check loop to the Windows-specific
       code of startSshd ().
+    - src/onmainwindow.{cpp,h}: make startSshd () private. There's no need to
+      keep it public, as only class-internal functions are using it.
 
   [ Bernard Cafarelli ]
   * New upstream version (4.0.5.3):
diff --git a/src/onmainwindow.h b/src/onmainwindow.h
index f556f85..9046349 100644
--- a/src/onmainwindow.h
+++ b/src/onmainwindow.h
@@ -584,7 +584,6 @@ public:
     QString internAppName ( const QString& transAppName,
                             bool* found=0l );
     void setEmbedSessionActionsEnabled ( bool enable );
-    bool startSshd();
     QSize getEmbedAreaSize();
 #ifdef Q_OS_WIN
     static QString cygwinPath ( const QString& winPath );
@@ -1221,6 +1220,7 @@ private:
     std::size_t default_size_for_key_type (key_types key_type);
     QString generateKey (key_types key_type, bool host_key = false);
     QString createKeyBundle (key_types key_type = RSA_KEY_TYPE);
+    bool startSshd();
 
 ////////////////plugin stuff////////////////////
 #ifdef CFGPLUGIN

--
Alioth's /srv/git/code.x2go.org/x2goclient.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git


More information about the x2go-commits mailing list