diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-02-27 17:11:21 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-02-27 17:11:21 +0000 |
commit | 63189be1df97d5a8659af8b76d1ca6b10d0e9627 (patch) | |
tree | f8c4ca5abc7cdedd2913a6ebe696635140cdd64e /gtk2_ardour/main.cc | |
parent | 903c0863d9c7490c86cbcb652bd362a266a6d468 (diff) |
vestige-based VST support, back-ported from 2.0-ongoing
git-svn-id: svn://localhost/ardour2/branches/3.0@4703 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/main.cc')
-rw-r--r-- | gtk2_ardour/main.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gtk2_ardour/main.cc b/gtk2_ardour/main.cc index 6861b178d1..32454d69d5 100644 --- a/gtk2_ardour/main.cc +++ b/gtk2_ardour/main.cc @@ -288,6 +288,9 @@ sigpipe_handler (int sig) } #ifdef VST_SUPPORT + +extern int gui_init (int* argc, char** argv[]); + /* this is called from the entry point of a wine-compiled executable that is linked against gtk2_ardour built as a shared library. @@ -307,6 +310,13 @@ int main (int argc, char *argv[]) Glib::thread_init(); gtk_set_locale (); +#ifdef VST_SUPPORT + /* this does some magic that is needed to make GTK and Wine's own + X11 client interact properly. + */ + gui_init (&argc, &argv); +#endif + (void) bindtextdomain (PACKAGE, localedir); /* our i18n translations are all in UTF-8, so make sure that even if the user locale doesn't specify UTF-8, |