vtl: remove cruft
authorRobin Gareus <robin@gareus.org>
Mon, 10 Jun 2013 16:37:41 +0000 (18:37 +0200)
committerRobin Gareus <robin@gareus.org>
Mon, 10 Jun 2013 17:10:12 +0000 (19:10 +0200)
gtk2_ardour/video_monitor.cc
gtk2_ardour/video_monitor.h
gtk2_ardour/video_timeline.cc

index 17ce02e0b14b70d2c1adb53badc8466e65fff756..297ec6fd3362375ce35cc9cfcca7cf44ccbffac0 100644 (file)
@@ -452,16 +452,6 @@ VideoMonitor::set_session (ARDOUR::Session *s)
   }
 }
 
-void
-VideoMonitor::clear_session_state ()
-{
-       xjadeo_settings.clear();
-       if (!_session) { return; }
-       XMLNode* node = new XMLNode(X_("XJSettings"));
-       _session->add_extra_xml (*node);
-       _session->set_dirty ();
-}
-
 bool
 VideoMonitor::set_custom_setting (const std::string k, const std::string v)
 {
index a6edda6e83dae6fc27921bb89ba5a15971a6520d..23c435ff5e0110f1ce066f2516d2e070e7c3e2c1 100644 (file)
@@ -61,7 +61,6 @@ class VideoMonitor : public sigc::trackable , public ARDOUR::SessionHandlePtr, p
 
        void set_session (ARDOUR::Session *s);
        void save_session ();
-       void clear_session_state ();
        void query_full_state (bool);
        bool set_custom_setting (const std::string, const std::string);
        const std::string get_custom_setting (const std::string);
index 9aec6800d413d06cf505b0e6f2eb89e537332739..97335bbc2b77f22ac1ed05fa70b70f5a0eb22e99 100644 (file)
@@ -785,21 +785,6 @@ VideoTimeLine::terminated_video_monitor () {
        }
 }
 
-/*
-void
-VideoTimeLine::clear_video_monitor_session_state ()
-{
-       if (vmonitor) {
-               vmonitor->clear_session_state();
-       } else {
-         if (!_session) { return; }
-               XMLNode* node = new XMLNode(X_("XJSettings"));
-               _session->add_extra_xml (*node);
-               _session->set_dirty ();
-       }
-}
-*/
-
 void
 VideoTimeLine::manual_seek_video_monitor (framepos_t pos)
 {