[banshee] GStreamerSharp: uninstall gapless_preference too, on dispose



commit afc9b374ae8030f9536d7b9679e74a092618caec
Author: Andrés G. Aragoneses <knocte gmail com>
Date:   Mon Apr 7 01:09:29 2014 +0200

    GStreamerSharp: uninstall gapless_preference too, on dispose
    
    This is to mimic more closely what the native backend is doing.

 .../Banshee.GStreamerSharp/PlayerEngine.cs         |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/Backends/Banshee.GStreamerSharp/Banshee.GStreamerSharp/PlayerEngine.cs 
b/src/Backends/Banshee.GStreamerSharp/Banshee.GStreamerSharp/PlayerEngine.cs
index 064fcd0..811c3ba 100644
--- a/src/Backends/Banshee.GStreamerSharp/Banshee.GStreamerSharp/PlayerEngine.cs
+++ b/src/Backends/Banshee.GStreamerSharp/Banshee.GStreamerSharp/PlayerEngine.cs
@@ -1069,7 +1069,9 @@ namespace Banshee.GStreamerSharp
             }
 
             service["general"]["misc"].Remove (replaygain_preference);
+            service["general"]["misc"].Remove (gapless_preference);
             replaygain_preference = null;
+            gapless_preference = null;
         }
 
         public static readonly SchemaEntry<bool> ReplayGainEnabledSchema = new SchemaEntry<bool> (


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