2003-10-17 Mike Kestner <mkestner@ximian.com>

* gnome/CanvasPoints.custom : make New overload a ctor overload.
	* gnome/Gnome.metadata : mark CanvasPoints as opaque
	* gnome/gnome-api.xml : regenerated. [Fixes #37256]

svn path=/trunk/gtk-sharp/; revision=19145
This commit is contained in:
Mike Kestner 2003-10-17 20:23:24 +00:00
parent 971b309120
commit b922fdc99b
4 changed files with 9 additions and 5 deletions

View file

@ -1,3 +1,9 @@
2003-10-17 Mike Kestner <mkestner@ximian.com>
* gnome/CanvasPoints.custom : make New overload a ctor overload.
* gnome/Gnome.metadata : mark CanvasPoints as opaque
* gnome/gnome-api.xml : regenerated. [Fixes #37256]
2003-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* gtk/ThreadNotify.cs: close the pipe and detach the GSource when

View file

@ -12,8 +12,5 @@
static extern System.IntPtr
gtksharp_gnome_canvas_points_new_from_array (uint num_points, double[] coords);
public static Gnome.CanvasPoints New (double[] coords)
{
return New (gtksharp_gnome_canvas_points_new_from_array ((uint) coords.Length / 2, coords));
}
public CanvasPoints (double[] coords) : this (gtksharp_gnome_canvas_points_new_from_array ((uint) coords.Length / 2, coords)) {}

View file

@ -1,5 +1,6 @@
<?xml version="1.0"?>
<metadata>
<attr path="//boxed[@cname='GnomeCanvasPoints']" name="opaque">1</attr>
<attr path="//boxed[@cname='GnomeGlyphList']/method/*/*[@type='const-guchar*']" name="type">const-gchar*</attr>
<attr path="//boxed[@cname='GnomePrintUnit']/method/*/*[@type='const-guchar*']" name="type">const-gchar*</attr>
<attr path="//boxed[@cname='GnomePrintUnit']/method[@name='GetIdentity']/*/*[@name='base']" name="name">Base</attr>

View file

@ -1645,7 +1645,7 @@
<return-type type="void" />
</method>
</struct>
<boxed name="CanvasPoints" cname="GnomeCanvasPoints">
<boxed name="CanvasPoints" cname="GnomeCanvasPoints" opaque="1">
<field cname="coords" type="double*" />
<field cname="num_points" type="int" />
<field cname="ref_count" type="int" />