fix old function left over by removing it
authorPaul Davis <paul@linuxaudiosystems.com>
Sun, 8 Jan 2006 05:34:37 +0000 (05:34 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Sun, 8 Jan 2006 05:34:37 +0000 (05:34 +0000)
git-svn-id: svn://localhost/trunk/ardour2@248 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/ardour_ui.cc

index 7b2dfcdf446fee8ae1c9d3d5e62dcfc3469856e5..de23ebdcc3981fda84db6ee8054000c6251e218f 100644 (file)
@@ -687,22 +687,6 @@ ARDOUR_UI::mmc_device_id_adjusted ()
 #endif
 }
 
-void
-ARDOUR_UI::map_some_session_state (ToggleButton& button,
-                                  bool (Session::*get)() const)
-       
-{
-       bool x;
-
-       if (session == 0) {
-               return;
-       }
-       
-       if (button.get_active() != (x = (session->*get)())) {
-               button.set_active (x);
-       }
-}
-
 gint
 ARDOUR_UI::session_menu (GdkEventButton *ev)
 {