[banshee] SqlDebugConsole: Fix build with GTK3



commit 737c95b299a9a7a304dc8be6be5f3ce9a592dc12
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date:   Mon Nov 18 21:18:31 2013 +0100

    SqlDebugConsole: Fix build with GTK3

 .../Banshee.SqlDebugConsole/SqlActions.cs          |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/src/Extensions/Banshee.SqlDebugConsole/Banshee.SqlDebugConsole/SqlActions.cs 
b/src/Extensions/Banshee.SqlDebugConsole/Banshee.SqlDebugConsole/SqlActions.cs
index 2aee36a..26202c8 100644
--- a/src/Extensions/Banshee.SqlDebugConsole/Banshee.SqlDebugConsole/SqlActions.cs
+++ b/src/Extensions/Banshee.SqlDebugConsole/Banshee.SqlDebugConsole/SqlActions.cs
@@ -77,11 +77,13 @@ namespace Banshee.SqlDebugConsole
             UpdateActions ();
         }
 
-        public override void Dispose ()
+        protected override void Dispose (bool disposing)
         {
-            Actions.UIManager.RemoveUi (actions_id);
-            Actions.RemoveActionGroup (this);
-            base.Dispose ();
+            if (disposing) {
+                Actions.UIManager.RemoveUi (actions_id);
+                Actions.RemoveActionGroup (this);
+            }
+            base.Dispose (disposing);
         }
 
 #region Action Handlers


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