Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLluis Sanchez <lluis@xamarin.com>2015-12-15 15:18:38 +0300
committerLluis Sanchez <lluis@xamarin.com>2015-12-15 18:43:06 +0300
commitb337b503ce5dfde6a50e9857db5cc65815ce37fb (patch)
tree75356622e8eb202587b062505a80b9345e314923 /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CustomTools
parenta0c539d46e7fef88393d86f3875a90cc6dec4396 (diff)
Close most of DispatchService
Most of the DispatchService functionality has been superseeded by async api and by methods in MonoDevelop.Core.Runtime.
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CustomTools')
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CustomTools/CustomToolService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CustomTools/CustomToolService.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CustomTools/CustomToolService.cs
index 941765a559..6847a6e3d8 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CustomTools/CustomToolService.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CustomTools/CustomToolService.cs
@@ -377,7 +377,7 @@ namespace MonoDevelop.Ide.CustomTools
}
if (result.Errors.Count > 0) {
- DispatchService.GuiDispatch (delegate {
+ Runtime.RunInMainThread (delegate {
foreach (CompilerError err in result.Errors)
TaskService.Errors.Add (new TaskListEntry (file.FilePath, err.ErrorText, err.Column, err.Line,
err.IsWarning? TaskSeverity.Warning : TaskSeverity.Error,