Some thread safety for the previous commit.
git-svn-id: svn://localhost/ardour2/branches/3.0@5766 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
ab1afe97fe
commit
25102143b2
|
@ -34,6 +34,7 @@
|
||||||
#include "port_matrix_body.h"
|
#include "port_matrix_body.h"
|
||||||
#include "port_matrix_component.h"
|
#include "port_matrix_component.h"
|
||||||
#include "i18n.h"
|
#include "i18n.h"
|
||||||
|
#include "gui_thread.h"
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace sigc;
|
using namespace sigc;
|
||||||
|
@ -454,6 +455,8 @@ PortMatrix::setup_global_ports ()
|
||||||
void
|
void
|
||||||
PortMatrix::setup_all_ports ()
|
PortMatrix::setup_all_ports ()
|
||||||
{
|
{
|
||||||
|
ENSURE_GUI_THREAD (mem_fun (*this, &PortMatrix::setup_all_ports));
|
||||||
|
|
||||||
setup_ports (0);
|
setup_ports (0);
|
||||||
setup_ports (1);
|
setup_ports (1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user