Fix crashes in TreeView.ScrollToCell.

svn path=/trunk/gtk-sharp/; revision=12830
This commit is contained in:
Lee Mallabone 2003-03-25 19:05:40 +00:00
parent 860cab4b30
commit 438b788722
3 changed files with 28 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2003-03-25 Lee Mallabone <gnome@fonicmonkey.net>
* api/gtk-api.xml: Allow parameters in TreeView.ScrollToCell to be null.
* source/Gtk.Metadata: Mark TreeView.ScrollToCell() with some null_ok params.
2003-03-25 Martin Baulig <martin@ximian.com>
* gtk/Application.cs (CurrentEvent): Made this property static.

View file

@ -8276,8 +8276,8 @@
<method name="ScrollToCell" cname="gtk_tree_view_scroll_to_cell">
<return-type type="void"/>
<parameters>
<parameter type="GtkTreePath*" name="path"/>
<parameter type="GtkTreeViewColumn*" name="column"/>
<parameter type="GtkTreePath*" name="path" null_ok="1"/>
<parameter type="GtkTreeViewColumn*" name="column" null_ok="1"/>
<parameter type="gboolean" name="use_align"/>
<parameter type="gfloat" name="row_align"/>
<parameter type="gfloat" name="col_align"/>
@ -11862,7 +11862,6 @@
</parameters>
</callback>
<object name="HTML" cname="GtkHTML" parent="GtkLayout">
<field cname="editor_bindings" type="GtkBindingSet*"/>
<field cname="iframe_parent" type="GtkWidget*"/>
<field cname="frame" type="HTMLObject*"/>
<field cname="editor_api" type="GtkHTMLEditorAPI*"/>
@ -12026,6 +12025,10 @@
<parameter type="GtkHTMLCommandType" name="com_type"/>
</parameters>
</signal>
<property name="Editable" cname="editable" type="gboolean" doc-string=" _(Whether the html can be edited)" readable="true" writeable="true"/>
<property name="Title" cname="title" type="gchar*" doc-string=" _(The title of the current document)" readable="true" writeable="true"/>
<property name="DocumentBase" cname="document_base" type="gchar*" doc-string=" _(The base URL for relative references)" readable="true" writeable="true"/>
<property name="TargetBase" cname="target_base" type="gchar*" doc-string=" _(The base URL of the targe frame)" readable="true" writeable="true"/>
<method name="AllowSelection" cname="gtk_html_allow_selection">
<return-type type="void"/>
<parameters>

View file

@ -1824,6 +1824,23 @@
</attribute>
</data>
</rule>
<rule>
<class name="GtkTreeView">
<method>ScrollToCell</method>
</class>
<data>
<attribute target="param">
<filter level="type">GtkTreeViewColumn*</filter>
<name>null_ok</name>
<value>1</value>
</attribute>
<attribute target="param">
<filter level="type">GtkTreePath*</filter>
<name>null_ok</name>
<value>1</value>
</attribute>
</data>
</rule>
<rule>
<class name="GtkProgressBar">
<constructor>gtk_progress_bar_new_with_adjustment</constructor>