diff options
author | Carl Hetherington <carl@carlh.net> | 2009-01-21 02:44:40 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-01-21 02:44:40 +0000 |
commit | f6f3769ae11e3a9e888abdf8c3ed92f08d3c9a5b (patch) | |
tree | 2303a87c61cd7b6963d1e78a0635a53785b1b1e5 | |
parent | 30472988f5ea21b22f9561f2541c3f126efc297d (diff) |
Remove now-deprecated non-zero page size in Adjustments used for SpinButtons;
stops some GTK warnings on startup.
git-svn-id: svn://localhost/ardour2/branches/3.0@4419 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | gtk2_ardour/new_session_dialog.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/new_session_dialog.cc b/gtk2_ardour/new_session_dialog.cc index c45747b62b..c28277b8ab 100644 --- a/gtk2_ardour/new_session_dialog.cc +++ b/gtk2_ardour/new_session_dialog.cc @@ -85,17 +85,17 @@ NewSessionDialog::NewSessionDialog() m_template = new Gtk::FileChooserButton(); m_create_control_bus = new Gtk::CheckButton(_("Create monitor bus")); - Gtk::Adjustment *m_control_bus_channel_count_adj = Gtk::manage(new Gtk::Adjustment(2, 0, 100, 1, 10, 10)); + Gtk::Adjustment *m_control_bus_channel_count_adj = Gtk::manage(new Gtk::Adjustment(2, 0, 100, 1, 10, 0)); m_control_bus_channel_count = new Gtk::SpinButton(*m_control_bus_channel_count_adj, 1, 0); - Gtk::Adjustment *m_master_bus_channel_count_adj = Gtk::manage(new Gtk::Adjustment(2, 0, 100, 1, 10, 10)); + Gtk::Adjustment *m_master_bus_channel_count_adj = Gtk::manage(new Gtk::Adjustment(2, 0, 100, 1, 10, 0)); m_master_bus_channel_count = new Gtk::SpinButton(*m_master_bus_channel_count_adj, 1, 0); m_create_master_bus = new Gtk::CheckButton(_("Create master bus")); advanced_table = new Gtk::Table(2, 2, true); m_connect_inputs = new Gtk::CheckButton(_("Automatically connect to physical inputs")); m_limit_input_ports = new Gtk::CheckButton(_("Use only")); - Gtk::Adjustment *m_input_limit_count_adj = Gtk::manage(new Gtk::Adjustment(1, 0, 100, 1, 10, 10)); + Gtk::Adjustment *m_input_limit_count_adj = Gtk::manage(new Gtk::Adjustment(1, 0, 100, 1, 10, 0)); m_input_limit_count = new Gtk::SpinButton(*m_input_limit_count_adj, 1, 0); input_port_limit_hbox = new Gtk::HBox(false, 0); input_port_vbox = new Gtk::VBox(false, 0); @@ -108,7 +108,7 @@ NewSessionDialog::NewSessionDialog() m_connect_outputs = new Gtk::CheckButton(_("Automatically connect outputs")); m_limit_output_ports = new Gtk::CheckButton(_("Use only")); - Gtk::Adjustment *m_output_limit_count_adj = Gtk::manage(new Gtk::Adjustment(1, 0, 100, 1, 10, 10)); + Gtk::Adjustment *m_output_limit_count_adj = Gtk::manage(new Gtk::Adjustment(1, 0, 100, 1, 10, 0)); m_output_limit_count = new Gtk::SpinButton(*m_output_limit_count_adj, 1, 0); output_port_limit_hbox = new Gtk::HBox(false, 0); output_port_vbox = new Gtk::VBox(false, 0); |