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>2015-06-17 00:13:34 +0300
committerMarius Ungureanu <marius.ungureanu@xamarin.com>2015-06-17 00:40:42 +0300
commitbe00174229b0115a88688e639171a98381b20cf8 (patch)
tree86634eeb9abaa2aa3512cb5f94652ec8a76bdb1d /main/src/addins/MonoDevelop.Autotools
parentfc3170531a206bddcf4e6011cccfe4a879fa30fa (diff)
[Misc] 1/4 batch of checking disposes of dialogs.
Diffstat (limited to 'main/src/addins/MonoDevelop.Autotools')
-rw-r--r--main/src/addins/MonoDevelop.Autotools/TarballBuilderEditorWidget.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/main/src/addins/MonoDevelop.Autotools/TarballBuilderEditorWidget.cs b/main/src/addins/MonoDevelop.Autotools/TarballBuilderEditorWidget.cs
index edd2eebbdd..ac60b13b23 100644
--- a/main/src/addins/MonoDevelop.Autotools/TarballBuilderEditorWidget.cs
+++ b/main/src/addins/MonoDevelop.Autotools/TarballBuilderEditorWidget.cs
@@ -80,9 +80,10 @@ namespace MonoDevelop.Autotools
protected virtual void OnAutofooPropertiesClicked (object sender, System.EventArgs e)
{
- MakefileSwitchEditor editor = new MakefileSwitchEditor (target);
- editor.ShowAll ();
- MonoDevelop.Ide.MessageService.ShowCustomDialog (editor, this.Toplevel as Gtk.Window);
+ using (MakefileSwitchEditor editor = new MakefileSwitchEditor (target)) {
+ editor.ShowAll ();
+ MonoDevelop.Ide.MessageService.ShowCustomDialog (editor, this.Toplevel as Gtk.Window);
+ }
}
}
}