From 7ab3da66b530daa0da099794b2e8a8b2d6236034 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 3 Dec 2014 21:11:02 -0500 Subject: fix up BaseUI to use crossthreadchannel on all platforms --- libs/pbd/pbd/base_ui.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'libs/pbd/pbd/base_ui.h') 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 (); -- cgit v1.2.3