[banshee] [PodcastActions] Unsubscribe from an event on dispose



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]