From ac730a397d3f163cedcca58b7b6249c3680c727f Mon Sep 17 00:00:00 2001 From: Karsten Wiese Date: Tue, 27 Dec 2005 23:06:32 +0000 Subject: [PATCH] call foo::foo() before bar::bar(foo). git-svn-id: svn://localhost/trunk/ardour2@211 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/option_editor.cc | 1 + gtk2_ardour/option_editor.h | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gtk2_ardour/option_editor.cc b/gtk2_ardour/option_editor.cc index ad440e0282..58bf35ee59 100644 --- a/gtk2_ardour/option_editor.cc +++ b/gtk2_ardour/option_editor.cc @@ -78,6 +78,7 @@ OptionEditor::OptionEditor (ARDOUR_UI& uip, PublicEditor& ed, Mixer_UI& mixui) /* Paths */ path_table (11, 2), + sfdb_path_columns(), sfdb_paths(ListStore::create(sfdb_path_columns)), sfdb_path_view(sfdb_paths), diff --git a/gtk2_ardour/option_editor.h b/gtk2_ardour/option_editor.h index b23014c4b4..d1513f4661 100644 --- a/gtk2_ardour/option_editor.h +++ b/gtk2_ardour/option_editor.h @@ -80,9 +80,6 @@ class OptionEditor : public Gtk::Dialog Gtk::ComboBoxText native_format_combo; - Glib::RefPtr sfdb_paths; - Gtk::TreeView sfdb_path_view; - struct SoundFilePathColumns : public Gtk::TreeModel::ColumnRecord { public: @@ -91,6 +88,8 @@ class OptionEditor : public Gtk::Dialog SoundFilePathColumns() { add (paths); } }; SoundFilePathColumns sfdb_path_columns; + Glib::RefPtr sfdb_paths; + Gtk::TreeView sfdb_path_view; void setup_path_options(); void add_session_paths (); -- 2.30.2