add clip folders, icon margins, fix safe regions, update neophyte, fix folder edl...
[goodguy/history.git] / cinelerra-5.1 / cinelerra / mainsession.C
index 251d82b706ffb81947f659f0cd82c666eb57df98..280867e7d884f226a6c7891d121de6ea1b7a55fb 100644 (file)
@@ -49,7 +49,6 @@ MainSession::MainSession(MWindow *mwindow)
        drag_assets = new ArrayList<Indexable*>;
        drag_auto_gang = new ArrayList<Auto*>;
        drag_clips = new ArrayList<EDL*>;
-       drag_proxy = new ArrayList<EDL*>;
        drag_edits = new ArrayList<Edit*>;
        drag_edit = 0;
        clip_number = 1;
@@ -115,12 +114,10 @@ MainSession::MainSession(MWindow *mwindow)
 
 MainSession::~MainSession()
 {
-       clear_drag_proxy();
        delete drag_pluginservers;
        delete drag_assets;
        delete drag_auto_gang;
        delete drag_clips;
-       delete drag_proxy;
        delete drag_edits;
 }
 
@@ -145,13 +142,6 @@ void MainSession::boundaries()
        CLAMP(cwindow_controls, 0, 1);
 }
 
-void MainSession::clear_drag_proxy()
-{
-       for( int i=drag_proxy->size(); --i>=0; )
-               drag_proxy->get(i)->remove_user();
-       drag_proxy->remove_all();
-}
-
 void MainSession::save_x11_host(int play_config, const char *x11_host)
 {
        strcpy(!play_config ? a_x11_host : b_x11_host, x11_host);