[hyena] Add protected IntPtr ctor to Animated[HV]?Box
- From: Gabriel Burt <gburt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [hyena] Add protected IntPtr ctor to Animated[HV]?Box
- Date: Wed, 26 May 2010 02:42:54 +0000 (UTC)
commit cf10e5c06728f3da1d200b5335c54439d942a83f
Author: Alexander Kojevnikov <alexander kojevnikov com>
Date: Wed Apr 7 09:21:29 2010 +1000
Add protected IntPtr ctor to Animated[HV]?Box
Fixes bgo#613548, workarounds bnc#594100
src/Hyena.Gui/Hyena.Widgets/AnimatedBox.cs | 4 ++++
src/Hyena.Gui/Hyena.Widgets/AnimatedHBox.cs | 4 ++++
src/Hyena.Gui/Hyena.Widgets/AnimatedVBox.cs | 4 ++++
3 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/src/Hyena.Gui/Hyena.Widgets/AnimatedBox.cs b/src/Hyena.Gui/Hyena.Widgets/AnimatedBox.cs
index da888ad..4154570 100644
--- a/src/Hyena.Gui/Hyena.Widgets/AnimatedBox.cs
+++ b/src/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/Hyena.Gui/Hyena.Widgets/AnimatedHBox.cs b/src/Hyena.Gui/Hyena.Widgets/AnimatedHBox.cs
index e38c455..d121fc7 100644
--- a/src/Hyena.Gui/Hyena.Widgets/AnimatedHBox.cs
+++ b/src/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/Hyena.Gui/Hyena.Widgets/AnimatedVBox.cs b/src/Hyena.Gui/Hyena.Widgets/AnimatedVBox.cs
index 6c5b3b4..0d59221 100644
--- a/src/Hyena.Gui/Hyena.Widgets/AnimatedVBox.cs
+++ b/src/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]