summaryrefslogtreecommitdiff
path: root/libs/pbd/pbd/base_ui.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-12-03 21:11:02 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2014-12-03 21:11:02 -0500
commit7ab3da66b530daa0da099794b2e8a8b2d6236034 (patch)
treeba82a8e5ce0e0dee1b4f78f1a497f9985a8efe44 /libs/pbd/pbd/base_ui.h
parentd3e2de8b4e006ac652b004cb44b66afa9f6584f6 (diff)
fix up BaseUI to use crossthreadchannel on all platforms
Diffstat (limited to 'libs/pbd/pbd/base_ui.h')
-rw-r--r--libs/pbd/pbd/base_ui.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/libs/pbd/pbd/base_ui.h b/libs/pbd/pbd/base_ui.h
index ea1afbbb5a..fbee20dd64 100644
--- a/libs/pbd/pbd/base_ui.h
+++ b/libs/pbd/pbd/base_ui.h
@@ -93,14 +93,9 @@ class LIBPBD_API BaseUI : public sigc::trackable, public PBD::EventLoop
virtual void thread_init () {};
-#ifdef PLATFORM_WINDOWS
- static gboolean _request_handler (gpointer);
- bool request_handler ();
-#else
/** Called when there input ready on the request_channel
*/
bool request_handler (Glib::IOCondition);
-#endif
void signal_new_request ();
void attach_request_source ();
@@ -115,10 +110,8 @@ class LIBPBD_API BaseUI : public sigc::trackable, public PBD::EventLoop
std::string _name;
BaseUI* base_ui_instance;
-#ifndef PLATFORM_WINDOWS
CrossThreadChannel request_channel;
-#endif
-
+
static uint64_t rt_bit;
int setup_request_pipe ();