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.
This commit is contained in:
Paul Davis 2013-07-11 12:56:35 -04:00
parent 7626cd68ac
commit 4adb2f97cc
3 changed files with 62 additions and 12 deletions

View file

@ -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);