projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfa94ae
)
update plugin scan dialog gtk hack
author
Robin Gareus
<robin@gareus.org>
Tue, 25 Feb 2014 08:40:40 +0000
(09:40 +0100)
committer
Robin Gareus
<robin@gareus.org>
Tue, 25 Feb 2014 13:57:57 +0000
(14:57 +0100)
gtk2_ardour/ardour_ui.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/ardour_ui.cc
b/gtk2_ardour/ardour_ui.cc
index 10de8e795d8953068b9cbfbc8e1863365e99544f..a55dfc48cda708ba2236d4304a353e699cb06b6c 100644
(file)
--- a/
gtk2_ardour/ardour_ui.cc
+++ b/
gtk2_ardour/ardour_ui.cc
@@
-3826,7
+3826,11
@@
ARDOUR_UI::plugin_scan_dialog (std::string type, std::string plugin)
scan_dlg->show_all();
}
- gtk_main_iteration ();
+ /* due to idle calls, gtk_events_pending() may always return true */
+ int timeout = 30;
+ while (gtk_events_pending() && --timeout) {
+ gtk_main_iteration ();
+ }
}
void