[Gtk-sharp-list] null_ok patch for Gnome.metadata

Todd Berman tberman@sevenl.net
Sun, 25 Jan 2004 01:37:53 -0500


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

This patch adds the correct null_oks for Gnome.Icon.LookupSync, I'm not
sure if they are all needed and/or correct, lemme know :)

--Todd

--=-2Gy7vU2fMrKBRcb8Gqik
Content-Disposition: attachment; filename=lookup-sync-null_ok.diff
Content-Type: text/x-patch; name=lookup-sync-null_ok.diff; charset=ANSI_X3.4-1968
Content-Transfer-Encoding: 7bit

Index: gnome/Gnome.metadata
===================================================================
RCS file: /cvs/public/gtk-sharp/gnome/Gnome.metadata,v
retrieving revision 1.4
diff -u -r1.4 Gnome.metadata
--- gnome/Gnome.metadata	7 Dec 2003 15:49:23 -0000	1.4
+++ gnome/Gnome.metadata	25 Jan 2004 06:09:53 -0000
@@ -59,6 +59,9 @@
   <attr path="//object[@cname='GnomeFontPreview']/method/*/*[@type='const-guchar*']" name="type">const-gchar*</attr>
   <attr path="//object[@cname='GnomeFontFace']/method/return-type[@type='const-guchar*']" name="type">const-gchar*</attr>
   <attr path="//object[@cname='GnomeFontFace']/method/*/*[@type='const-guchar*']" name="type">const-gchar*</attr>
+  <attr path="/api/namespace/class[@cname='GnomeIcon']/method[@name='LookupSync']/*/*[@name='thumbnail_factory']" name="null_ok">1</attr>
+  <attr path="/api/namespace/class[@cname='GnomeIcon']/method[@name='LookupSync']/*/*[@name='custom_icon']" name="null_ok">1</attr>
+  <attr path="/api/namespace/class[@cname='GnomeIcon']/method[@name='LookupSync']/*/*[@name='result']" name="null_ok">1</attr>
   <attr path="//object[@cname='GnomeIconEntry']/method[@name='PickDialog']" name="hidden">1</attr>
   <attr path="//object[@cname='GnomeIconList']/constructor[@cname='gnome_icon_list_new']/*/*[@type='GtkAdjustment*']" name="null_ok">1</attr>
   <attr path="//object[@cname='GnomeIconList']/method[@name='GetSelection']/return-type" name="element_type">int</attr>

--=-2Gy7vU2fMrKBRcb8Gqik--