diff options
author | Carl Hetherington <carl@carlh.net> | 2009-10-11 22:19:58 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-10-11 22:19:58 +0000 |
commit | 25102143b24533145d16e7aeb204810541ebfd6c (patch) | |
tree | 00052298f9cd38048f97c5e824200b6d7f38f31d /gtk2_ardour/port_matrix.cc | |
parent | ab1afe97fe235513791ecda9d2d90596a58a776d (diff) |
Some thread safety for the previous commit.
git-svn-id: svn://localhost/ardour2/branches/3.0@5766 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/port_matrix.cc')
-rw-r--r-- | gtk2_ardour/port_matrix.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk2_ardour/port_matrix.cc b/gtk2_ardour/port_matrix.cc index febd6ab565..0e35427a28 100644 --- a/gtk2_ardour/port_matrix.cc +++ b/gtk2_ardour/port_matrix.cc @@ -34,6 +34,7 @@ #include "port_matrix_body.h" #include "port_matrix_component.h" #include "i18n.h" +#include "gui_thread.h" using namespace std; using namespace sigc; @@ -454,6 +455,8 @@ PortMatrix::setup_global_ports () void PortMatrix::setup_all_ports () { + ENSURE_GUI_THREAD (mem_fun (*this, &PortMatrix::setup_all_ports)); + setup_ports (0); setup_ports (1); } |