summaryrefslogtreecommitdiff
path: root/libs/gtkmm2ext/gtk_ui.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-07-11 12:56:35 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2013-07-11 12:56:35 -0400
commit4adb2f97cc991341d7e3b2a165e72373221a1b5e (patch)
tree50947da18478ac74b94c777421ad3aff7cab0c3f /libs/gtkmm2ext/gtk_ui.cc
parent7626cd68ac033de3ebaa0bf60ce4bdbf7da44329 (diff)
Use timeout source to process ui requests on windows
Using a timeout source to process ui events/requests is suboptimal but it works for the moment. Have to use g_source functions as glibmm functions are not thread safe AFAIK. Behaviour should be exactly the same on unix.
Diffstat (limited to 'libs/gtkmm2ext/gtk_ui.cc')
-rw-r--r--libs/gtkmm2ext/gtk_ui.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/gtkmm2ext/gtk_ui.cc b/libs/gtkmm2ext/gtk_ui.cc
index ee5e0c07f6..831fa7e38f 100644
--- a/libs/gtkmm2ext/gtk_ui.cc
+++ b/libs/gtkmm2ext/gtk_ui.cc
@@ -94,7 +94,7 @@ UI::UI (string namestr, int *argc, char ***argv)
/* attach our request source to the default main context */
- attach_request_source (MainContext::get_default());
+ attach_request_source ();
errors = new TextViewer (800,600);
errors->text().set_editable (false);