make GTKOSX button2 emulation actually work when clicking on redirect names
[ardour.git] / gtk2_ardour / new_session_dialog.cc
index 3ced2c7688002a374764982c0a2f509757958d63..c02d9b18f6a6e7a8c54ecd1333f99a534531a51f 100644 (file)
@@ -17,9 +17,6 @@
 
 */
 
-#include "i18n.h"
-#include "new_session_dialog.h"
-
 #include <pbd/error.h>
 
 #include <ardour/recent_sessions.h>
@@ -43,6 +40,8 @@ using namespace PBD;
 
 #include "opts.h"
 #include "utils.h"
+#include "i18n.h"
+#include "new_session_dialog.h"
 
 NewSessionDialog::NewSessionDialog()
        : ArdourDialog ("session control")
@@ -83,17 +82,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));
        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));
        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));
        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);
@@ -106,7 +105,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));
        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);