[Mono-list] GTK# Patch for TreeStore, ListStore, and TextIter

Daniel Morgan danmorg@sc.rr.com
Wed, 20 Nov 2002 14:56:04 -0500


This is a multi-part message in MIME format.

------=_NextPart_000_000C_01C290A4.F325EB20
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Hey Mike,

I have a patch for gtk-sharp/sources/Gtk.metadata.

The patch has 3 fixes:

1. for TreeStore method SetColumnTypes, make the int types parameter an
array.
2. for ListStore method SetColumnTypes, make the int types parameter an
array.
3. for TextIter method ForwardSearch, make the TextIter parameters
match_start and
   match_end to be out.

For 3., I'm sure there are other "search" methods that need fixing, but I
want to see how this fix works first.

Are these okay?

Thanks,
Daniel

------=_NextPart_000_000C_01C290A4.F325EB20
Content-Type: text/plain;
	name="gtk-sharp_metadata_diff.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="gtk-sharp_metadata_diff.txt"

? gtk-sharp_metadata_diff.txt=0A=
Index: Gtk.metadata=0A=
=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=0A=
RCS file: /cvs/public/gtk-sharp/sources/Gtk.metadata,v=0A=
retrieving revision 1.26=0A=
diff -u -r1.26 Gtk.metadata=0A=
--- Gtk.metadata	10 Nov 2002 10:03:51 -0000	1.26=0A=
+++ Gtk.metadata	20 Nov 2002 19:35:53 -0000=0A=
@@ -30,6 +30,25 @@=0A=
     </attribute>=0A=
   </data>=0A=
 </rule>=0A=
+=0A=
+<rule>=0A=
+  <class name=3D"GtkTextIter">=0A=
+    <method>ForwardSearch</method>=0A=
+  </class>=0A=
+  <data>=0A=
+    <attribute target=3D"param">=0A=
+      <filter level=3D"name">match_start</filter>=0A=
+      <name>pass_as</name>=0A=
+      <value>out</value>=0A=
+    </attribute>=0A=
+        <attribute target=3D"param">=0A=
+      <filter level=3D"name">match_end</filter>=0A=
+      <name>pass_as</name>=0A=
+      <value>out</value>=0A=
+    </attribute>=0A=
+  </data>=0A=
+</rule>=0A=
+=0A=
 <rule>=0A=
   <class name=3D"GtkEditable">=0A=
     <method>InsertText</method>=0A=
@@ -59,6 +78,30 @@=0A=
     </attribute>=0A=
   </data>=0A=
 </rule>=0A=
+<rule>=0A=
+  <class name=3D"GtkListStore">=0A=
+    <method>SetColumnTypes</method>=0A=
+  </class>=0A=
+  <data>=0A=
+    <attribute target=3D"param">=0A=
+      <filter level=3D"name">types</filter>=0A=
+      <name>array</name>=0A=
+      <value>true</value>=0A=
+  </data>=0A=
+</rule>=0A=
+=0A=
+<rule>=0A=
+  <class name=3D"GtktTreeStore">=0A=
+    <method>SetColumnTypes</method>=0A=
+  </class>=0A=
+  <data>=0A=
+    <attribute target=3D"param">=0A=
+      <filter level=3D"name">types</filter>=0A=
+      <name>array</name>=0A=
+      <value>true</value>=0A=
+  </data>=0A=
+</rule>=0A=
+=0A=
 <rule>=0A=
   <class name=3D"GtkTreeModelSort">=0A=
     <method>ConvertChildIterToIter</method>=0A=

------=_NextPart_000_000C_01C290A4.F325EB20--