[f-spot] Add a pile of missing IntPtr constructors.



commit 49cd27925271a0a8a110b55ade57805b561eeed8
Author: Ruben Vermeersch <ruben savanne be>
Date:   Sat Aug 7 22:16:28 2010 +0200

    Add a pile of missing IntPtr constructors.

 src/QueryWidget.cs             |    2 ++
 src/Widgets/FolderTreeModel.cs |    2 ++
 src/Widgets/FolderTreeView.cs  |    2 ++
 src/Widgets/HighlightedBox.cs  |    3 +++
 src/Widgets/ScalingIconView.cs |    5 +++++
 5 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/src/QueryWidget.cs b/src/QueryWidget.cs
index fd7fc49..217fc7f 100644
--- a/src/QueryWidget.cs
+++ b/src/QueryWidget.cs
@@ -43,6 +43,8 @@ namespace FSpot {
 			get { return logic_widget; }
 		}
 
+		protected QueryWidget (IntPtr raw) : base (raw) {}
+
 		public QueryWidget (PhotoQuery query, Db db) : base(new HBox())
 		{
 			box = Child as HBox;
diff --git a/src/Widgets/FolderTreeModel.cs b/src/Widgets/FolderTreeModel.cs
index 62a1b74..c3e0929 100644
--- a/src/Widgets/FolderTreeModel.cs
+++ b/src/Widgets/FolderTreeModel.cs
@@ -23,6 +23,8 @@ namespace FSpot.Widgets
 {
 	public class FolderTreeModel : TreeStore
 	{
+		protected FolderTreeModel (IntPtr raw) : base (raw) { }
+
 		Db database;
 		
 		const string query_string = 
diff --git a/src/Widgets/FolderTreeView.cs b/src/Widgets/FolderTreeView.cs
index f69553e..ad0a1aa 100644
--- a/src/Widgets/FolderTreeView.cs
+++ b/src/Widgets/FolderTreeView.cs
@@ -25,6 +25,8 @@ namespace FSpot.Widgets
 	public class FolderTreeView : SaneTreeView
 	{	
 		FolderTreeModel folder_tree_model;
+
+		protected FolderTreeView (IntPtr raw) : base (raw) {}
 	
 		public FolderTreeView () : this (new FolderTreeModel ())
 		{
diff --git a/src/Widgets/HighlightedBox.cs b/src/Widgets/HighlightedBox.cs
index 51927c5..a6b0dbb 100644
--- a/src/Widgets/HighlightedBox.cs
+++ b/src/Widgets/HighlightedBox.cs
@@ -7,6 +7,7 @@
  * This is free software. See COPYING for details.
  */
 
+using System;
 using Gtk;
 
 namespace FSpot.Widgets
@@ -15,6 +16,8 @@ namespace FSpot.Widgets
 	{
 		private bool changing_style = false;
 
+		protected HighlightedBox (IntPtr raw) : base (raw) {}
+
 		public HighlightedBox (Widget child) : base ()
 		{
 			Child = child;
diff --git a/src/Widgets/ScalingIconView.cs b/src/Widgets/ScalingIconView.cs
index bdeb19a..f9501ff 100644
--- a/src/Widgets/ScalingIconView.cs
+++ b/src/Widgets/ScalingIconView.cs
@@ -6,8 +6,13 @@
  *
  * This is free software. See COPYING for details
  */
+
+using System;
+
 namespace FSpot.Widgets {
 	public class ScalingIconView : IconView {
+		protected ScalingIconView (IntPtr raw) : base (raw) {}
+
 		public ScalingIconView () : base () { }
  		public ScalingIconView (IBrowsableCollection collection) : base (collection) { }
 		



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