[Gtk-sharp-list] Patch: some out parameters

Fredrik Nilsson jymdman@home.se
08 Jan 2003 19:18:20 +0100


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

Hi,

Included a file to patch some parameters in GtkTextView to be out
parameters.
Hope it's in right format as I don't have any sources installed on my
machine to test it.

Regards

-- 
Fredrik Nilsson <jymdman@home.se>

--=-SdC7aE833El6vBXEpNl5
Content-Disposition: attachment; filename=gtk-sharp.diff
Content-Type: text/x-patch; name=gtk-sharp.diff; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

diff -u -p -r gtk-sharp-cvs/sources/Gtk.metadata gtk-sharp-work/sources/Gtk.metadata
--- gtk-sharp-cvs/sources/Gtk.metadata	Wed Jan  8 18:48:21 2003
+++ gtk-sharp-work/sources/Gtk.metadata	Wed Jan  8 19:04:07 2003
@@ -31,6 +31,21 @@
   </data>
 </rule>
 <rule>
+  <class name="GtkTextView">
+    <method>GetLineYrange</method>
+    <method>GetLineAtY</method>
+    <method>BufferToWindowCoords</method>
+    <method>WindowToBufferCoords</method>
+  </class>
+  <data>
+    <attribute target="param">
+      <filter level="type">gint*</filter>
+      <name>pass_as</name>
+      <value>out</value>
+    </attribute>
+  </data>
+</rule>
+<rule>
   <class name="GtkEditable">
     <method>InsertText</method>
   </class>

--=-SdC7aE833El6vBXEpNl5--