summaryrefslogtreecommitdiffstats
path: root/src/gui/ConnectWindow.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-05-13 01:22:29 +0000
committerDavid Robillard <d@drobilla.net>2011-05-13 01:22:29 +0000
commit981c7950a6f5fc9f22decaee261556d20b641d5c (patch)
tree326c2256d5876e3c55ec2fb9ea13c4a04f29bf0b /src/gui/ConnectWindow.cpp
parenteae8f927dbf4913c7cb72605af5da0763f7be422 (diff)
downloadingen-981c7950a6f5fc9f22decaee261556d20b641d5c.tar.gz
ingen-981c7950a6f5fc9f22decaee261556d20b641d5c.tar.bz2
ingen-981c7950a6f5fc9f22decaee261556d20b641d5c.zip
Make signals private with accessors, and localise dependency on sigc::signal.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3258 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/ConnectWindow.cpp')
-rw-r--r--src/gui/ConnectWindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/ConnectWindow.cpp b/src/gui/ConnectWindow.cpp
index cc7b6d7c..7741be10 100644
--- a/src/gui/ConnectWindow.cpp
+++ b/src/gui/ConnectWindow.cpp
@@ -397,7 +397,7 @@ ConnectWindow::gtk_callback()
timeval now;
gettimeofday(&now, NULL);
static const timeval start = now;
- static timeval last = now;
+ static timeval last = now;
// Show if attempted connection goes on for a noticeable amount of time
if (!is_visible()) {
@@ -411,7 +411,7 @@ ConnectWindow::gtk_callback()
if (_connect_stage == 0) {
_attached = false;
- App::instance().client()->signal_response_ok.connect(
+ App::instance().client()->signal_response_ok().connect(
sigc::mem_fun(this, &ConnectWindow::on_response));
_ping_id = abs(rand()) / 2 * 2; // avoid -1