[banshee] Add protected IntPtr ctors; ergh!



commit ea9ed4e673439c9df2a1f4df86ecce7b1ca513be
Author: Gabriel Burt <gabriel burt gmail com>
Date:   Sat May 22 12:05:22 2010 -0700

    Add protected IntPtr ctors; ergh!

 .../Banshee.Gui.Widgets/NextButton.cs              |    2 ++
 .../Banshee.Sources.Gui/SourceModel.cs             |    2 ++
 .../Banshee.MiniMode/SourceModel.cs                |    2 ++
 .../Hyena.Gui/Hyena.Widgets/MenuButton.cs          |    2 ++
 4 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/NextButton.cs b/src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/NextButton.cs
index 449c7a0..63c0cfe 100644
--- a/src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/NextButton.cs
+++ b/src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/NextButton.cs
@@ -40,6 +40,8 @@ namespace Banshee.Gui.Widgets
         Widget button;
         bool with_repeat_actions;
 
+        protected NextButton (IntPtr ptr) : base (ptr) {}
+
         public NextButton (InterfaceActionService actionService) : this (actionService, false)
         {
         }
diff --git a/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceModel.cs b/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceModel.cs
index 904d915..28817a4 100644
--- a/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceModel.cs
+++ b/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceModel.cs
@@ -73,6 +73,8 @@ namespace Banshee.Sources.Gui
 
         public Predicate<Source> Filter { get; set; }
 
+        protected SourceModel (IntPtr ptr) : base (ptr) {}
+
         public SourceModel () : base (typeof (Source), typeof (int), typeof (bool))
         {
             SetSortColumnId (1, SortType.Ascending);
diff --git a/src/Extensions/Banshee.MiniMode/Banshee.MiniMode/SourceModel.cs b/src/Extensions/Banshee.MiniMode/Banshee.MiniMode/SourceModel.cs
index 04674bc..8dc89c8 100644
--- a/src/Extensions/Banshee.MiniMode/Banshee.MiniMode/SourceModel.cs
+++ b/src/Extensions/Banshee.MiniMode/Banshee.MiniMode/SourceModel.cs
@@ -40,6 +40,8 @@ namespace Banshee.MiniMode
 {
     public class SourceModel : Gtk.TreeStore
     {
+        protected SourceModel (IntPtr ptr) : base (ptr) {}
+
         internal SourceModel() : base(typeof(Gdk.Pixbuf), typeof(string), typeof(Source))
         {
             Clear();
diff --git a/src/Libraries/Hyena.Gui/Hyena.Widgets/MenuButton.cs b/src/Libraries/Hyena.Gui/Hyena.Widgets/MenuButton.cs
index 2dc9e1a..6df820c 100644
--- a/src/Libraries/Hyena.Gui/Hyena.Widgets/MenuButton.cs
+++ b/src/Libraries/Hyena.Gui/Hyena.Widgets/MenuButton.cs
@@ -41,6 +41,8 @@ namespace Hyena.Widgets
         private Menu menu;
         private Widget size_widget;
 
+        protected MenuButton (IntPtr ptr) : base (ptr) {}
+
         public MenuButton ()
         {
         }



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