summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-03-16 16:55:33 +0000
committerDavid Robillard <d@drobilla.net>2012-03-16 16:55:33 +0000
commit7126f005be3e49818dafe0d2666b6745e09f8aff (patch)
tree0347d8408335429dde623cdfa5bb1a3a3c9f8620 /src/gui
parent9da093217352daa1fb61a6f2daf5195640e286a7 (diff)
downloadingen-7126f005be3e49818dafe0d2666b6745e09f8aff.tar.gz
ingen-7126f005be3e49818dafe0d2666b6745e09f8aff.tar.bz2
ingen-7126f005be3e49818dafe0d2666b6745e09f8aff.zip
Remove ping() from interface, just use a get instead.
Add preliminary AtomWriter Interface. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4068 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/ConnectWindow.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gui/ConnectWindow.cpp b/src/gui/ConnectWindow.cpp
index 12f2173a..dfb285a4 100644
--- a/src/gui/ConnectWindow.cpp
+++ b/src/gui/ConnectWindow.cpp
@@ -380,7 +380,7 @@ ConnectWindow::gtk_callback()
_ping_id = abs(rand()) / 2 * 2; // avoid -1
_app->engine()->set_response_id(_ping_id);
- _app->engine()->ping();
+ _app->engine()->get("ingen:engine");
if (_widgets_loaded) {
_progress_label->set_text("Connecting to engine...");
@@ -397,12 +397,11 @@ ConnectWindow::gtk_callback()
(now.tv_usec - last.tv_usec) * 0.001f;
if (ms_since_last > 1000) {
_app->engine()->set_response_id(_ping_id);
- _app->engine()->ping();
+ _app->engine()->get("ingen:engine");
last = now;
}
}
} else if (_connect_stage == 2) {
- _app->engine()->get("ingen:engine");
_app->engine()->get(Path("/"));
if (_widgets_loaded)
_progress_label->set_text(string("Requesting root patch..."));