[banshee] [PodcastActions] Unsubscribe from an event on dispose
- From: Alexander Kojevnikov <alexk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] [PodcastActions] Unsubscribe from an event on dispose
- Date: Mon, 15 Mar 2010 22:05:37 +0000 (UTC)
commit f7461c4266b903a59c1b41a426c0928b341bc9f6
Author: Andrés G. Aragoneses <knocte gmail com>
Date: Tue Mar 16 09:00:13 2010 +1100
[PodcastActions] Unsubscribe from an event on dispose
Fixes bgo#612952
Signed-off-by: Alexander Kojevnikov <alexander kojevnikov com>
.../Banshee.Podcasting.Gui/PodcastActions.cs | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastActions.cs b/src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastActions.cs
index 8a41569..452914e 100644
--- a/src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastActions.cs
+++ b/src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastActions.cs
@@ -169,6 +169,7 @@ namespace Banshee.Podcasting.Gui
public override void Dispose ()
{
+ ServiceManager.SourceManager.ActiveSourceChanged -= HandleActiveSourceChanged;
Actions.UIManager.RemoveUi (actions_id);
Actions.RemoveActionGroup (this);
base.Dispose ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]