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:
authorMarius Ungureanu <marius.ungureanu@xamarin.com>2016-09-18 03:28:27 +0300
committerMarius Ungureanu <marius.ungureanu@xamarin.com>2016-09-18 03:28:27 +0300
commit972944b3c69362a49ade1989b82d5fb3b290362f (patch)
tree019c10a5f22d74e884c30ad43e247bc1cb4f27d9 /main/src/addins/MonoDevelop.Gettext
parent60ade50a2f784f1c9ac8d85fad45c13ecc4b103f (diff)
[Ide] Don't dispose List/TreeStore as we don't own it, the treeview does.
Diffstat (limited to 'main/src/addins/MonoDevelop.Gettext')
-rw-r--r--main/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext.Editor/POEditorWidget.cs11
1 files changed, 0 insertions, 11 deletions
diff --git a/main/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext.Editor/POEditorWidget.cs b/main/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext.Editor/POEditorWidget.cs
index 3063b00c27..cdf57814d4 100644
--- a/main/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext.Editor/POEditorWidget.cs
+++ b/main/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext.Editor/POEditorWidget.cs
@@ -852,7 +852,6 @@ namespace MonoDevelop.Gettext
return entry1.GetTranslation (0).CompareTo (entry2.GetTranslation (0));
});
IdeApp.Workbench.StatusBar.ShowMessage (string.Format (GettextCatalog.GetPluralString ("Found {0} catalog entry.", "Found {0} catalog entries.", found), found));
- store.Dispose ();
treeviewEntries.Model = store = newStore;
}
@@ -951,16 +950,6 @@ namespace MonoDevelop.Gettext
{
MonoDevelop.Ide.Gui.Styles.Changed -= HandleStylesChanged;
StopTaskWorkerThread ();
-
- if (store != null) {
- store.Dispose ();
- store = null;
- }
-
- if (foundInStore != null) {
- foundInStore.Dispose ();
- foundInStore = null;
- }
widgets.Remove (this);
ClearTasks ();