projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3b47dc
)
fix progress reporter, use idle callback.
author
Robin Gareus
<robin@gareus.org>
Sat, 19 Sep 2015 15:32:12 +0000
(17:32 +0200)
committer
Robin Gareus
<robin@gareus.org>
Sat, 19 Sep 2015 17:00:42 +0000
(19:00 +0200)
do not directly hook into Glib's Main Context.
gtk2_ardour/progress_reporter.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/progress_reporter.cc
b/gtk2_ardour/progress_reporter.cc
index c6b6709869e603b4e2a8c03ec3a56ce25a57c834..9662b0d392bda59af9681a5f567ac8a2ca54b7f3 100644
(file)
--- a/
gtk2_ardour/progress_reporter.cc
+++ b/
gtk2_ardour/progress_reporter.cc
@@
-18,7
+18,7
@@
*/
#include <iostream>
-#include
<glibmm/main.h>
+#include
"ardour/ardour.h"
#include "progress_reporter.h"
ProgressReporter::ProgressReporter ()
@@
-35,10
+35,6
@@
void
ProgressReporter::set_overall_progress (float p)
{
update_progress_gui (p);
-
- /* Make sure the progress widget gets updated */
- while (Glib::MainContext::get_default()->iteration (false)) {
- /* do nothing */
- }
+ ARDOUR::GUIIdle ();
}