summaryrefslogtreecommitdiffstats
path: root/src/libs/gui/ConnectWindow.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-08-14 05:49:40 +0000
committerDavid Robillard <d@drobilla.net>2008-08-14 05:49:40 +0000
commit576774c657d99c7c9954eefff27b886694913022 (patch)
tree36a9a321b128515291a066843767ef92483adf4e /src/libs/gui/ConnectWindow.hpp
parentdb492ea9443c4813b4124f980793746405ae39ef (diff)
downloadingen-576774c657d99c7c9954eefff27b886694913022.tar.gz
ingen-576774c657d99c7c9954eefff27b886694913022.tar.bz2
ingen-576774c657d99c7c9954eefff27b886694913022.zip
Shave some more time off startup (send commands off before updating GUI things, don't show until as late as possible).
git-svn-id: http://svn.drobilla.net/lad/ingen@1374 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/gui/ConnectWindow.hpp')
-rw-r--r--src/libs/gui/ConnectWindow.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libs/gui/ConnectWindow.hpp b/src/libs/gui/ConnectWindow.hpp
index 53d0ccd5..d8635804 100644
--- a/src/libs/gui/ConnectWindow.hpp
+++ b/src/libs/gui/ConnectWindow.hpp
@@ -53,7 +53,7 @@ public:
void set_connected_to(SharedPtr<Shared::EngineInterface> engine);
void start(Ingen::Shared::World* world);
- void response_ok_received(int32_t id) { if ((id) == _ping_id) _attached = true; }
+ void response_ok_received(int32_t id) { if (id == _ping_id) _attached = true; }
private:
enum Mode { CONNECT_REMOTE, LAUNCH_REMOTE, INTERNAL };
@@ -65,6 +65,7 @@ private:
void disconnect();
void connect();
void quit();
+ void on_hide();
bool gtk_callback();