[banshee/stable-1.6] [Hyena.Gui] Add protected IntPtr ctor to Animated[HV]?Box



commit 49bfc385cbd6628365edaa0901835d5193004f41
Author: Alexander Kojevnikov <alexander kojevnikov com>
Date:   Wed Apr 7 09:21:29 2010 +1000

    [Hyena.Gui] Add protected IntPtr ctor to Animated[HV]?Box
    
    Fixes bgo#613548, workarounds bnc#594100

 .../Hyena.Gui/Hyena.Widgets/AnimatedBox.cs         |    4 ++++
 .../Hyena.Gui/Hyena.Widgets/AnimatedHBox.cs        |    4 ++++
 .../Hyena.Gui/Hyena.Widgets/AnimatedVBox.cs        |    4 ++++
 3 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/src/Libraries/Hyena.Gui/Hyena.Widgets/AnimatedBox.cs b/src/Libraries/Hyena.Gui/Hyena.Widgets/AnimatedBox.cs
index da888ad..4154570 100644
--- a/src/Libraries/Hyena.Gui/Hyena.Widgets/AnimatedBox.cs
+++ b/src/Libraries/Hyena.Gui/Hyena.Widgets/AnimatedBox.cs
@@ -67,6 +67,10 @@ namespace Hyena.Widgets
             border_stage.Iteration += OnBorderIteration;
         }
 
+        protected AnimatedBox (IntPtr raw) : base (raw)
+        {
+        }
+
 #region Private
 
         private double Percent {
diff --git a/src/Libraries/Hyena.Gui/Hyena.Widgets/AnimatedHBox.cs b/src/Libraries/Hyena.Gui/Hyena.Widgets/AnimatedHBox.cs
index e38c455..d121fc7 100644
--- a/src/Libraries/Hyena.Gui/Hyena.Widgets/AnimatedHBox.cs
+++ b/src/Libraries/Hyena.Gui/Hyena.Widgets/AnimatedHBox.cs
@@ -37,5 +37,9 @@ namespace Hyena.Widgets
         public AnimatedHBox () : base (true)
         {
         }
+
+        protected AnimatedHBox (IntPtr raw) : base (raw)
+        {
+        }
     }
 }
diff --git a/src/Libraries/Hyena.Gui/Hyena.Widgets/AnimatedVBox.cs b/src/Libraries/Hyena.Gui/Hyena.Widgets/AnimatedVBox.cs
index 6c5b3b4..0d59221 100644
--- a/src/Libraries/Hyena.Gui/Hyena.Widgets/AnimatedVBox.cs
+++ b/src/Libraries/Hyena.Gui/Hyena.Widgets/AnimatedVBox.cs
@@ -37,5 +37,9 @@ namespace Hyena.Widgets
         public AnimatedVBox () : base (false)
         {
         }
+
+        protected AnimatedVBox (IntPtr raw) : base (raw)
+        {
+        }
     }
 }
\ No newline at end of file



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