2002-07-17 Rachel Hestilow <hestilow@ximian.com>

* parser/Gtk.metadata: Tag MenuItem.SetSubmenu as null-ok.

svn path=/trunk/gtk-sharp/; revision=5853
This commit is contained in:
Rachel Hestilow 2002-07-17 14:44:01 +00:00
parent faf9967df6
commit 9e29ccbf0a
4 changed files with 29 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2002-07-17 Rachel Hestilow <hestilow@ximian.com>
* parser/Gtk.metadata: Tag MenuItem.SetSubmenu as null-ok.
2002-07-17 Rachel Hestilow <hestilow@ximian.com> 2002-07-17 Rachel Hestilow <hestilow@ximian.com>
* generator/Method.cs: Honor array in return type. * generator/Method.cs: Honor array in return type.

View file

@ -12004,7 +12004,7 @@
<method name="SetSubmenu" cname="gtk_menu_item_set_submenu"> <method name="SetSubmenu" cname="gtk_menu_item_set_submenu">
<return-type type="void"/> <return-type type="void"/>
<parameters> <parameters>
<parameter type="GtkWidget*" name="submenu"/> <parameter type="GtkWidget*" name="submenu" null_ok="1"/>
</parameters> </parameters>
</method> </method>
<method name="Activate" cname="gtk_menu_item_activate"> <method name="Activate" cname="gtk_menu_item_activate">

View file

@ -1645,5 +1645,17 @@
</attribute> </attribute>
</data> </data>
</rule> </rule>
<rule>
<class name="GtkMenuItem">
<method>SetSubmenu</method>
</class>
<data>
<attribute target="param">
<filter level="type">GtkWidget*</filter>
<name>null_ok</name>
<value>1</value>
</attribute>
</data>
</rule>
</metadata> </metadata>

View file

@ -1645,5 +1645,17 @@
</attribute> </attribute>
</data> </data>
</rule> </rule>
<rule>
<class name="GtkMenuItem">
<method>SetSubmenu</method>
</class>
<data>
<attribute target="param">
<filter level="type">GtkWidget*</filter>
<name>null_ok</name>
<value>1</value>
</attribute>
</data>
</rule>
</metadata> </metadata>