[Gtk-sharp-list] small patch to TreeView.custom

Vladimir Vukicevic vladimir@pobox.com
02 Oct 2002 22:09:15 -0700


--=-eNgHejMmjmvw84ccbCSl
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Er, as rachel pointed out, I didn't fix the pinvoke decl.  I have
apparently forgot how to create and test patches before submitting ;) 
Attached "real" patch, as trivial as it is.

	- Vlad


--=-eNgHejMmjmvw84ccbCSl
Content-Disposition: attachment; filename=treeview.patch
Content-Transfer-Encoding: quoted-printable
Content-Type: text/x-patch; name=treeview.patch; charset=ANSI_X3.4-1968

Index: ChangeLog
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvs/public/gtk-sharp/ChangeLog,v
retrieving revision 1.226
diff -u -u -r1.226 ChangeLog
--- ChangeLog	30 Sep 2002 02:21:05 -0000	1.226
+++ ChangeLog	3 Oct 2002 05:04:52 -0000
@@ -1,3 +1,8 @@
+2002-10-02  Vladimir Vukicevic  <vladimir@pobox.com>
+
+	* gtk/TreeView.custom: added TreeView Handle as argument
+	to set_model in Model property
+
 2002-09-29  Rachel Hestilow  <hestilow@ximian.com>
=20
 	* glue/canvas-proxy.c (update), glue/canvas-proxy-marshal.list:
Index: gtk/TreeView.custom
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvs/public/gtk-sharp/gtk/TreeView.custom,v
retrieving revision 1.3
diff -u -u -r1.3 TreeView.custom
--- gtk/TreeView.custom	21 Sep 2002 21:20:54 -0000	1.3
+++ gtk/TreeView.custom	3 Oct 2002 05:05:04 -0000
@@ -11,7 +11,7 @@
 		static extern IntPtr gtk_tree_view_get_model (IntPtr raw);
=20
 		[DllImport("gtk-x11-2.0")]
-		static extern IntPtr gtk_tree_view_set_model (IntPtr raw);
+		static extern IntPtr gtk_tree_view_set_model (IntPtr raw, IntPtr raw_mod=
el);
=20
 		/// <summary>Model Property</summary>
 		/// <remarks>Gets the model being displayed by the TreeView
@@ -24,6 +24,6 @@
 			}
=20
 			set {
-				gtk_tree_view_set_model (value.Handle);
+				gtk_tree_view_set_model (Handle, value.Handle);
 			}
 		}

--=-eNgHejMmjmvw84ccbCSl--