summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/AlsaDriver.cpp2
-rw-r--r--src/Patchage.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/AlsaDriver.cpp b/src/AlsaDriver.cpp
index aeca506..6fa90fc 100644
--- a/src/AlsaDriver.cpp
+++ b/src/AlsaDriver.cpp
@@ -130,7 +130,7 @@ AlsaDriver::refresh_ports()
snd_seq_client_info_alloca(&cinfo);
snd_seq_client_info_set_client(cinfo, -1);
- snd_seq_port_info_t * pinfo;
+ snd_seq_port_info_t* pinfo;
snd_seq_port_info_alloca(&pinfo);
string client_name;
diff --git a/src/Patchage.cpp b/src/Patchage.cpp
index a499d0d..e41b875 100644
--- a/src/Patchage.cpp
+++ b/src/Patchage.cpp
@@ -228,7 +228,8 @@ Patchage::Patchage(int argc, char** argv)
sigc::mem_fun(this, &Patchage::on_messages_delete));
_canvas->show();
-
+ _main_win->present();
+
_main_win->resize(
static_cast<int>(_state_manager->get_window_size().x),
static_cast<int>(_state_manager->get_window_size().y));
@@ -237,7 +238,6 @@ Patchage::Patchage(int argc, char** argv)
static_cast<int>(_state_manager->get_window_location().x),
static_cast<int>(_state_manager->get_window_location().y));
- _main_win->present();
_about_win->set_transient_for(*_main_win);
_jack_driver = new JackDriver(this);