summaryrefslogtreecommitdiff
path: root/libs/pbd/ui_callback.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/pbd/ui_callback.cc')
-rw-r--r--libs/pbd/ui_callback.cc19
1 files changed, 0 insertions, 19 deletions
diff --git a/libs/pbd/ui_callback.cc b/libs/pbd/ui_callback.cc
deleted file mode 100644
index 9a8feb3d2c..0000000000
--- a/libs/pbd/ui_callback.cc
+++ /dev/null
@@ -1,19 +0,0 @@
-#include "pbd/ui_callback.h"
-
-using namespace PBD;
-
-Glib::StaticPrivate<UICallback> UICallback::thread_ui;
-
-static void do_not_delete_the_ui_pointer (void*) { }
-
-UICallback*
-UICallback::get_ui_for_thread() {
- return thread_ui.get ();
-}
-
-void
-UICallback::set_ui_for_thread (UICallback* ui)
-{
- thread_ui.set (ui, do_not_delete_the_ui_pointer);
-}
-