1 #ifndef __ardour_gtk_gui_thread_h__
2 #define __ardour_gtk_gui_thread_h__
4 #define ENSURE_GUI_THREAD(slot) \
5 if (!Gtkmm2ext::UI::instance()->caller_is_gui_thread()) {\
6 Gtkmm2ext::UI::instance()->call_slot ((slot));\
10 #endif /* __ardour_gtk_gui_thread_h__ */