mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
make all use of bind/mem_fun be explicitly sigc::
git-svn-id: svn://localhost/ardour2/branches/3.0@6354 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
d7de23db0f
commit
64dc5427e4
123 changed files with 2178 additions and 2186 deletions
|
|
@ -21,10 +21,11 @@
|
|||
#define __ardour_gtk_gui_thread_h__
|
||||
|
||||
#include <gtkmm2ext/gtk_ui.h>
|
||||
#include <boost/bind.hpp>
|
||||
|
||||
#define ENSURE_GUI_THREAD(slot) \
|
||||
#define ENSURE_GUI_THREAD(obj,method, ...) \
|
||||
if (!Gtkmm2ext::UI::instance()->caller_is_self()) { \
|
||||
Gtkmm2ext::UI::instance()->call_slot ((slot));\
|
||||
Gtkmm2ext::UI::instance()->call_slot (boost::bind ((method), &(obj), ## __VA_ARGS__)); \
|
||||
return;\
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue