Remove unused function
authorColin Fletcher <colin.m.fletcher@googlemail.com>
Tue, 27 May 2014 14:48:07 +0000 (15:48 +0100)
committerColin Fletcher <colin.m.fletcher@googlemail.com>
Thu, 12 Jun 2014 22:20:05 +0000 (23:20 +0100)
Remove the unused ExportFileNotebook::get_nth_format_name()

gtk2_ardour/export_file_notebook.cc
gtk2_ardour/export_file_notebook.h

index b34d3aab09df01c863a0e5927f3752bb24d07e6e..b90aa463bcac8f785b08d567ec2a5e9184f50457 100644 (file)
@@ -115,16 +115,6 @@ ExportFileNotebook::update_example_filenames ()
        }
 }
 
-std::string
-ExportFileNotebook::get_nth_format_name (uint32_t n)
-{
-       FilePage * page;
-       if ((page = dynamic_cast<FilePage *> (get_nth_page (n - 1)))) {
-               return page->get_format_name();
-       }
-       return "";
-}
-
 void
 ExportFileNotebook::add_new_file_page ()
 {
index 7a021057ef716c64a99c0cd769533fd9a432db17..52c87c3717364440d6011106d9f6665100376e99 100644 (file)
@@ -38,11 +38,8 @@ class ExportFileNotebook : public Gtk::Notebook, public ARDOUR::SessionHandlePtr
 
        void set_session_and_manager (ARDOUR::Session * s, boost::shared_ptr<ARDOUR::ExportProfileManager> manager);
        void sync_with_manager ();
-
        void update_example_filenames();
 
-       std::string get_nth_format_name (uint32_t n);
-
        sigc::signal<void> CriticalSelectionChanged;
 
   private: