[f-spot] Add some IntPtr constructors to widgets.



commit 2184bfa30364c96f71d14ac1f773bd705f9daf6d
Author: Ruben Vermeersch <ruben savanne be>
Date:   Tue Jun 15 23:49:32 2010 +0200

    Add some IntPtr constructors to widgets.

 src/PhotoImageView.cs    |    3 +++
 src/Widgets/ImageView.cs |    2 ++
 2 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/PhotoImageView.cs b/src/PhotoImageView.cs
index 2f01010..465420c 100644
--- a/src/PhotoImageView.cs
+++ b/src/PhotoImageView.cs
@@ -21,6 +21,9 @@ using Gdk;
 namespace FSpot.Widgets {
 	public class PhotoImageView : ImageView {
 #region public API
+
+		protected PhotoImageView (IntPtr raw) : base (raw) { }
+
 		public PhotoImageView (IBrowsableCollection query) : this (new BrowsablePointer (query, -1))
 		{
 		}
diff --git a/src/Widgets/ImageView.cs b/src/Widgets/ImageView.cs
index ceac326..4b7682c 100644
--- a/src/Widgets/ImageView.cs
+++ b/src/Widgets/ImageView.cs
@@ -21,6 +21,8 @@ namespace FSpot.Widgets
 	public class ImageView : Container
 	{
 #region public API
+		protected ImageView (IntPtr raw) : base (raw) { }
+
 		public ImageView (Adjustment hadjustment, Adjustment vadjustment, bool can_select) : base ()
 		{
 			OnSetScrollAdjustments (hadjustment, vadjustment);



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