diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-07-25 17:48:55 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-07-25 17:48:55 +0000 |
commit | 3cd8138a419cb165f56070ace0b21a1e63ec5a43 (patch) | |
tree | 51efe9abff24a1367be227aebf8e2901433b0b88 /libs/pbd/pbd/event_loop.h | |
parent | eb6e352dd0a307badf68ae4a216d15c03b4685de (diff) |
convert from Glib:: to Glib::Threads for all thread-related API
git-svn-id: svn://localhost/ardour2/branches/3.0@13084 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/pbd/pbd/event_loop.h')
-rw-r--r-- | libs/pbd/pbd/event_loop.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/pbd/pbd/event_loop.h b/libs/pbd/pbd/event_loop.h index 450bf5752f..b5ee9b8000 100644 --- a/libs/pbd/pbd/event_loop.h +++ b/libs/pbd/pbd/event_loop.h @@ -22,7 +22,7 @@ #include <boost/function.hpp> #include <boost/bind.hpp> /* we don't need this here, but anything calling call_slot() probably will, so this is convenient */ -#include <glibmm/thread.h> +#include <glibmm/threads.h> namespace PBD { @@ -69,13 +69,13 @@ class EventLoop }; virtual void call_slot (InvalidationRecord*, const boost::function<void()>&) = 0; - virtual Glib::Mutex& slot_invalidation_mutex() = 0; + virtual Glib::Threads::Mutex& slot_invalidation_mutex() = 0; static EventLoop* get_event_loop_for_thread(); static void set_event_loop_for_thread (EventLoop* ui); private: - static Glib::StaticPrivate<EventLoop> thread_event_loop; + static Glib::Threads::Private<EventLoop> thread_event_loop; }; |