summaryrefslogtreecommitdiff
path: root/gtk2_ardour/main.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-10-01 16:28:02 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-10-01 16:28:02 +0000
commit37779a45c9c18076590295b2e342cffa99c46910 (patch)
treee179d34753964670b316ed09a56930d9711706a4 /gtk2_ardour/main.cc
parent4a46fccc6834f1cc00b02301355fc0fad8ae4083 (diff)
LV2 external UI patch from nedko via 2.X and a couple of .rej's
git-svn-id: svn://localhost/ardour2/branches/3.0@5702 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/main.cc')
-rw-r--r--gtk2_ardour/main.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk2_ardour/main.cc b/gtk2_ardour/main.cc
index 70f3a15498..2afb40ab3e 100644
--- a/gtk2_ardour/main.cc
+++ b/gtk2_ardour/main.cc
@@ -288,6 +288,10 @@ sigpipe_handler (int /*sig*/)
cerr << _("SIGPIPE received - JACK has probably died") << endl;
}
+#ifdef HAVE_LV2
+void close_external_ui_windows();
+#endif
+
#ifdef VST_SUPPORT
extern int gui_init (int* argc, char** argv[]);
@@ -388,6 +392,9 @@ int main (int argc, char *argv[])
ARDOUR::cleanup ();
pthread_cancel_all ();
+#ifdef HAVE_LV2
+ close_external_ui_windows();
+#endif
return 0;
}
#ifdef VST_SUPPORT