convert from Glib:: to Glib::Threads for all thread-related API
[ardour.git] / libs / pbd / pbd / controllable.h
index b23cdc7e97fbdb6f91c50167ce910caeab2f78d0..d9cd21d28dc24e3a455f2d8801793686b2fed9b9 100644 (file)
@@ -25,7 +25,7 @@
 #include <map>
 
 #include "pbd/signals.h"
-#include <glibmm/thread.h>
+#include <glibmm/threads.h>
 
 #include "pbd/statefuldestructible.h"
 
@@ -105,7 +105,7 @@ class Controllable : public PBD::StatefulDestructible {
        static void remove (Controllable*);
 
        typedef std::set<PBD::Controllable*> Controllables;
-       static Glib::StaticRWLock registry_lock;
+        static Glib::Threads::RWLock registry_lock;
        static Controllables registry;
 };