blob: 7b09007d808d1342c3b836d54aa778cfe578ba3d (
plain)
1
2
3
4
5
6
7
8
9
10
|
#ifndef __ardour_gtk_gui_thread_h__
#define __ardour_gtk_gui_thread_h__
#define ENSURE_GUI_THREAD(slot) \
if (!Gtkmmext::UI::instance()->caller_is_gui_thread()) {\
Gtkmmext::UI::instance()->call_slot ((slot));\
return;\
}
#endif /* __ardour_gtk_gui_thread_h__ */
|