[banshee] PrimarySource: Remove on Dispose (bgo#635779)



commit 9becb0ddc348f9ebeac7b63a2847e1bd20f30e87
Author: Alexander Kojevnikov <alexander kojevnikov com>
Date:   Sun Jan 30 15:35:34 2011 +0800

    PrimarySource: Remove on Dispose (bgo#635779)

 .../Banshee.Sources/PrimarySource.cs               |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs b/src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs
index b4861fc..7719513 100644
--- a/src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs
+++ b/src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs
@@ -251,7 +251,7 @@ namespace Banshee.Sources
             }
 
             ClearChildSources ();
-            ServiceManager.SourceManager.RemoveSource (this);
+            Remove ();
         }
 
         protected override void Initialize ()



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]