209d967b1b
git-svn-id: svn://localhost/trunk/ardour2@24 d708f5d6-7413-0410-9779-e7cbd77b26cf
11 lines
284 B
C
11 lines
284 B
C
#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__ */
|