[ardour-dev] [PATCH]connect CrossfadeEditorFrame's delete_event to Editor::finish_sub_event_loop_on_delete

Karsten Wiese annabellesgarden at yahoo.de
Wed Dec 29 10:48:23 PST 2004


to: prevent crash, when the CrossfadeEditor's Window is closed by the Framewindow's close button.

>>>>>>
--- ardour_neu/ardour6/gtk_ardour/editor.cc     2004-12-22 16:46:04.000000000 +0100
+++ ardour/gtk_ardour/editor.cc 2004-12-28 19:59:12.000000000 +0100
@@ -4248,7 +4249,7 @@

                cew.ok_button.clicked.connect (bind (slot (*this, &Editor::finish_sub_event_loop), 1));
                cew.cancel_button.clicked.connect (bind (slot (*this, &Editor::finish_sub_event_loop), 0));
-
+               cew.delete_event.connect (bind (slot (*this, &Editor::finish_sub_event_loop_on_delete), 0));
                cew.show_all ();
                run_sub_event_loop ();

<<<<<<

Karsten



More information about the Ardour-Dev mailing list