mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
remove the apparently unnecessary "ui_bind()" macro from entire source base
git-svn-id: svn://localhost/ardour2/branches/3.0@12088 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
eac10ca71c
commit
ec1ef5d6b5
56 changed files with 173 additions and 183 deletions
|
|
@ -131,7 +131,7 @@ ExportFormatDialog::ExportFormatDialog (FormatPtr format, bool new_dialog) :
|
|||
close_button = add_button (Gtk::Stock::SAVE, Gtk::RESPONSE_APPLY);
|
||||
close_button->set_sensitive (false);
|
||||
close_button->signal_clicked().connect (sigc::mem_fun (*this, &ExportFormatDialog::end_dialog));
|
||||
manager.CompleteChanged.connect (*this, invalidator (*this), ui_bind (&Gtk::Button::set_sensitive, close_button, _1), gui_context());
|
||||
manager.CompleteChanged.connect (*this, invalidator (*this), boost::bind (&Gtk::Button::set_sensitive, close_button, _1), gui_context());
|
||||
|
||||
with_cue.signal_toggled().connect (sigc::mem_fun (*this, &ExportFormatDialog::update_with_cue));
|
||||
with_toc.signal_toggled().connect (sigc::mem_fun (*this, &ExportFormatDialog::update_with_toc));
|
||||
|
|
@ -336,7 +336,7 @@ ExportFormatDialog::init_format_table ()
|
|||
row[compatibility_cols.label] = (*it)->name();
|
||||
|
||||
WeakCompatPtr ptr (*it);
|
||||
(*it)->SelectChanged.connect (*this, invalidator (*this), ui_bind (&ExportFormatDialog::change_compatibility_selection, this, _1, ptr), gui_context());
|
||||
(*it)->SelectChanged.connect (*this, invalidator (*this), boost::bind (&ExportFormatDialog::change_compatibility_selection, this, _1, ptr), gui_context());
|
||||
}
|
||||
|
||||
compatibility_view.append_column_editable ("", compatibility_cols.selected);
|
||||
|
|
@ -364,8 +364,8 @@ ExportFormatDialog::init_format_table ()
|
|||
row[quality_cols.label] = (*it)->name();
|
||||
|
||||
WeakQualityPtr ptr (*it);
|
||||
(*it)->SelectChanged.connect (*this, invalidator (*this), ui_bind (&ExportFormatDialog::change_quality_selection, this, _1, ptr), gui_context());
|
||||
(*it)->CompatibleChanged.connect (*this, invalidator (*this), ui_bind (&ExportFormatDialog::change_quality_compatibility, this, _1, ptr), gui_context());
|
||||
(*it)->SelectChanged.connect (*this, invalidator (*this), boost::bind (&ExportFormatDialog::change_quality_selection, this, _1, ptr), gui_context());
|
||||
(*it)->CompatibleChanged.connect (*this, invalidator (*this), boost::bind (&ExportFormatDialog::change_quality_compatibility, this, _1, ptr), gui_context());
|
||||
}
|
||||
|
||||
quality_view.append_column ("", quality_cols.label);
|
||||
|
|
@ -386,19 +386,19 @@ ExportFormatDialog::init_format_table ()
|
|||
row[format_cols.label] = (*it)->name();
|
||||
|
||||
WeakFormatPtr ptr (*it);
|
||||
(*it)->SelectChanged.connect (*this, invalidator (*this), ui_bind (&ExportFormatDialog::change_format_selection, this, _1, ptr), gui_context());
|
||||
(*it)->CompatibleChanged.connect (*this, invalidator (*this), ui_bind (&ExportFormatDialog::change_format_compatibility, this, _1, ptr), gui_context());
|
||||
(*it)->SelectChanged.connect (*this, invalidator (*this), boost::bind (&ExportFormatDialog::change_format_selection, this, _1, ptr), gui_context());
|
||||
(*it)->CompatibleChanged.connect (*this, invalidator (*this), boost::bind (&ExportFormatDialog::change_format_compatibility, this, _1, ptr), gui_context());
|
||||
|
||||
/* Encoding options */
|
||||
|
||||
boost::shared_ptr<HasSampleFormat> hsf;
|
||||
|
||||
if (hsf = boost::dynamic_pointer_cast<HasSampleFormat> (*it)) {
|
||||
hsf->SampleFormatSelectChanged.connect (*this, invalidator (*this), ui_bind (&ExportFormatDialog::change_sample_format_selection, this, _1, _2), gui_context());
|
||||
hsf->SampleFormatCompatibleChanged.connect (*this, invalidator (*this), ui_bind (&ExportFormatDialog::change_sample_format_compatibility, this, _1, _2), gui_context());
|
||||
hsf->SampleFormatSelectChanged.connect (*this, invalidator (*this), boost::bind (&ExportFormatDialog::change_sample_format_selection, this, _1, _2), gui_context());
|
||||
hsf->SampleFormatCompatibleChanged.connect (*this, invalidator (*this), boost::bind (&ExportFormatDialog::change_sample_format_compatibility, this, _1, _2), gui_context());
|
||||
|
||||
hsf->DitherTypeSelectChanged.connect (*this, invalidator (*this), ui_bind (&ExportFormatDialog::change_dither_type_selection, this, _1, _2), gui_context());
|
||||
hsf->DitherTypeCompatibleChanged.connect (*this, invalidator (*this), ui_bind (&ExportFormatDialog::change_dither_type_compatibility, this, _1, _2), gui_context());
|
||||
hsf->DitherTypeSelectChanged.connect (*this, invalidator (*this), boost::bind (&ExportFormatDialog::change_dither_type_selection, this, _1, _2), gui_context());
|
||||
hsf->DitherTypeCompatibleChanged.connect (*this, invalidator (*this), boost::bind (&ExportFormatDialog::change_dither_type_compatibility, this, _1, _2), gui_context());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -420,8 +420,8 @@ ExportFormatDialog::init_format_table ()
|
|||
row[sample_rate_cols.label] = (*it)->name();
|
||||
|
||||
WeakSampleRatePtr ptr (*it);
|
||||
(*it)->SelectChanged.connect (*this, invalidator (*this), ui_bind (&ExportFormatDialog::change_sample_rate_selection, this, _1, ptr), gui_context());
|
||||
(*it)->CompatibleChanged.connect (*this, invalidator (*this), ui_bind (&ExportFormatDialog::change_sample_rate_compatibility, this, _1, ptr), gui_context());
|
||||
(*it)->SelectChanged.connect (*this, invalidator (*this), boost::bind (&ExportFormatDialog::change_sample_rate_selection, this, _1, ptr), gui_context());
|
||||
(*it)->CompatibleChanged.connect (*this, invalidator (*this), boost::bind (&ExportFormatDialog::change_sample_rate_compatibility, this, _1, ptr), gui_context());
|
||||
}
|
||||
|
||||
sample_rate_view.append_column ("", sample_rate_cols.label);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue