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/addins/TextTemplating
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/addins/TextTemplating')
-rw-r--r--main/src/addins/TextTemplating/MonoDevelop.TextTemplating/Gui/T4EditorExtension.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/src/addins/TextTemplating/MonoDevelop.TextTemplating/Gui/T4EditorExtension.cs b/main/src/addins/TextTemplating/MonoDevelop.TextTemplating/Gui/T4EditorExtension.cs
index c77ae223e4..091402071e 100644
--- a/main/src/addins/TextTemplating/MonoDevelop.TextTemplating/Gui/T4EditorExtension.cs
+++ b/main/src/addins/TextTemplating/MonoDevelop.TextTemplating/Gui/T4EditorExtension.cs
@@ -36,6 +36,7 @@ using MonoDevelop.Ide.Editor.Extension;
using MonoDevelop.Ide.Editor;
using System.Threading.Tasks;
using System.Threading;
+using MonoDevelop.Core;
namespace MonoDevelop.TextTemplating.Gui
{
@@ -231,7 +232,7 @@ namespace MonoDevelop.TextTemplating.Gui
void RefillOutlineStore ()
{
- DispatchService.AssertGuiThread ();
+ Runtime.AssertMainThread ();
Gdk.Threads.Enter ();
refreshingOutline = false;
if (outlineTreeStore == null || !outlineTreeView.IsRealized)