[Gtk-sharp-list] Another pass_as out patch.
Todd Berman
tberman@sevenl.net
Fri, 30 Jan 2004 02:26:17 -0500
--=-L5+tCOd1NRgvkY5QWROo
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
This patch does basically the same thing for
Gtk.TreeView.GetBackgroundArea.
It has the previous patch for Gtk.TextView.GetIterLocation inline as
well.
--Todd
--=-L5+tCOd1NRgvkY5QWROo
Content-Disposition: attachment; filename=combined.diff
Content-Type: text/x-patch; name=combined.diff; charset=ANSI_X3.4-1968
Content-Transfer-Encoding: 7bit
Index: gtk/Gtk.metadata
===================================================================
RCS file: /cvs/public/gtk-sharp/gtk/Gtk.metadata,v
retrieving revision 1.28
diff -u -r1.28 Gtk.metadata
--- gtk/Gtk.metadata 28 Jan 2004 04:08:29 -0000 1.28
+++ gtk/Gtk.metadata 30 Jan 2004 07:05:16 -0000
@@ -186,6 +186,7 @@
<attr path="/api/namespace/object[@cname='GtkTextTag']/signal[@name='Event']" name="name">TextEvent</attr>
<attr path="/api/namespace/object[@cname='GtkTextView']/method[@name='GetIterAtLocation']/*/*[@type='GtkTextIter*']" name="pass_as">out</attr>
<attr path="/api/namespace/object[@cname='GtkTextView']/method[@name='GetLineAtY']/*/*[@type='GtkTextIter*']" name="pass_as">out</attr>
+ <attr path="/api/namespace/object[@cname='GtkTextView']/method[@name='GetIterLocation']/*/*[@type='GdkRectangle*']" name="pass_as">out</attr>
<attr path="/api/namespace/object[@cname='GtkTextView']/signal[@name='SetScrollAdjustments']" name="name">ScrollAdjustmentsSet</attr>
<attr path="/api/namespace/object[@cname='GtkToggleButton']/constructor[@cname='gtk_toggle_button_new_with_mnemonic']" name="preferred">1</attr>
<attr path="/api/namespace/object[@cname='GtkToggleButton']/method[@name='Toggled']" name="name">Toggle</attr>
@@ -215,6 +216,7 @@
<attr path="/api/namespace/object[@cname='GtkTreeView']/method[@name='GetDestRowAtPos']/*/*[@name='pos']" name="pass_as">out</attr>
<attr path="/api/namespace/object[@cname='GtkTreeView']/method[@name='GetDragDestRow']/*/*[@name='path']" name="pass_as">out</attr>
<attr path="/api/namespace/object[@cname='GtkTreeView']/method[@name='GetDragDestRow']/*/*[@name='pos']" name="pass_as">out</attr>
+ <attr path="/api/namespace/object[@cname='GtkTreeView']/method[@name='GetBackgroundArea']/*/*[@name='rect']" name="pass_as">out</attr>
<attr path="/api/namespace/object[@cname='GtkTreeView']/method[@name='GetPathAtPos']" name="hidden">1</attr>
<attr path="/api/namespace/object[@cname='GtkTreeView']/method[@name='GetSearchEqualFunc']" name="hidden">1</attr>
<attr path="/api/namespace/object[@cname='GtkTreeView']/method[@name='RowActivated']" name="name">ActivateRow</attr>
Index: gtk/gtk-api.xml
===================================================================
RCS file: /cvs/public/gtk-sharp/gtk/gtk-api.xml,v
retrieving revision 1.38
diff -u -r1.38 gtk-api.xml
--- gtk/gtk-api.xml 28 Jan 2004 21:44:25 -0000 1.38
+++ gtk/gtk-api.xml 30 Jan 2004 07:05:24 -0000
@@ -7623,7 +7623,7 @@
<return-type type="void" />
<parameters>
<parameter type="const-GtkTextIter*" name="iter" />
- <parameter type="GdkRectangle*" name="location" />
+ <parameter type="GdkRectangle*" name="location" pass_as="out" />
</parameters>
</method>
<method name="GetJustification" cname="gtk_text_view_get_justification">
@@ -8684,7 +8684,7 @@
<parameters>
<parameter type="GtkTreePath*" name="path" />
<parameter type="GtkTreeViewColumn*" name="column" />
- <parameter type="GdkRectangle*" name="rect" />
+ <parameter type="GdkRectangle*" name="rect" pass_as="out" />
</parameters>
</method>
<method name="GetBinWindow" cname="gtk_tree_view_get_bin_window">
--=-L5+tCOd1NRgvkY5QWROo--