[tasque/transition: 174/213] [libtasque] Some leftovers of Backend->IDisposable
- From: Antonius Riha <antoniusri src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tasque/transition: 174/213] [libtasque] Some leftovers of Backend->IDisposable
- Date: Wed, 29 Aug 2012 18:48:39 +0000 (UTC)
commit c14c94c63175d4a8d44bd432db5913ceef784d61
Author: Antonius Riha <antoniusriha gmail com>
Date: Sat Aug 18 23:45:20 2012 +0200
[libtasque] Some leftovers of Backend->IDisposable
src/Addins/DummyBackend/DummyBackend.cs | 2 --
src/Tasque.Gtk/PreferencesDialog.cs | 2 +-
2 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/Addins/DummyBackend/DummyBackend.cs b/src/Addins/DummyBackend/DummyBackend.cs
index 332e5ac..92c7128 100644
--- a/src/Addins/DummyBackend/DummyBackend.cs
+++ b/src/Addins/DummyBackend/DummyBackend.cs
@@ -106,8 +106,6 @@ namespace Tasque.Backends.Dummy
Initialized = true;
}
-
- public override void Cleanup () {}
public override IBackendPreferences Preferences
{
diff --git a/src/Tasque.Gtk/PreferencesDialog.cs b/src/Tasque.Gtk/PreferencesDialog.cs
index d2acc90..a1e810f 100644
--- a/src/Tasque.Gtk/PreferencesDialog.cs
+++ b/src/Tasque.Gtk/PreferencesDialog.cs
@@ -437,7 +437,7 @@ namespace Tasque
Backend oldBackend = backendComboMap [selectedBackend];
Trace.TraceInformation ("Cleaning up '{0}'...", oldBackend.Name);
try {
- oldBackend.Cleanup ();
+ oldBackend.Dispose ();
} catch (Exception e) {
Trace.TraceWarning ("Exception cleaning up '{0}': {2}",
oldBackend.Name,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]