2003-03-01 Mike Kestner <mkestner@speakeasy.net>

* api/gdk-api.xml : make Color.Parse retval a gboolean. Also change
	some libname override rules to use win32 dllnames.
	* sources/Gdk.metadata : rules for above.

svn path=/trunk/gtk-sharp/; revision=12095
This commit is contained in:
Mike Kestner 2003-03-01 22:18:09 +00:00
parent 151982eb62
commit 68f214f699
3 changed files with 26 additions and 9 deletions

View file

@ -1,3 +1,9 @@
2003-03-01 Mike Kestner <mkestner@speakeasy.net>
* api/gdk-api.xml : make Color.Parse retval a gboolean. Also change
some libname override rules to use win32 dllnames.
* sources/Gdk.metadata : rules for above.
2003-02-28 Miguel de Icaza <miguel@ximian.com>
* glue/widget.c (gtksharp_gtk_widget_get_window): Fix. Return the

View file

@ -1828,7 +1828,7 @@
<return-type type="guint"/>
</method>
<method name="Parse" cname="gdk_color_parse" shared="true">
<return-type type="gint"/>
<return-type type="gboolean"/>
<parameters>
<parameter type="const-gchar*" name="spec"/>
<parameter type="GdkColor*" name="color" pass_as="ref"/>
@ -2477,7 +2477,7 @@
<method name="GetColorspace" cname="gdk_pixbuf_get_colorspace">
<return-type type="GdkColorspace"/>
</method>
<method name="GetFromDrawable" cname="gdk_pixbuf_get_from_drawable" library="gdk-x11-2.0">
<method name="GetFromDrawable" cname="gdk_pixbuf_get_from_drawable" library="libgdk-win32-2.0-0.dll">
<return-type type="GdkPixbuf*"/>
<parameters>
<parameter type="GdkDrawable*" name="src"/>
@ -2490,7 +2490,7 @@
<parameter type="int" name="height"/>
</parameters>
</method>
<method name="GetFromImage" cname="gdk_pixbuf_get_from_image" library="gdk-x11-2.0">
<method name="GetFromImage" cname="gdk_pixbuf_get_from_image" library="libgdk-win32-2.0-0.dll">
<return-type type="GdkPixbuf*"/>
<parameters>
<parameter type="GdkImage*" name="src"/>
@ -2580,7 +2580,7 @@
<parameter type="int" name="height"/>
</parameters>
</constructor>
<method name="RenderPixmapAndMask" cname="gdk_pixbuf_render_pixmap_and_mask" library="gdk-x11-2.0">
<method name="RenderPixmapAndMask" cname="gdk_pixbuf_render_pixmap_and_mask" library="libgdk-win32-2.0-0.dll">
<return-type type="void"/>
<parameters>
<parameter type="GdkPixmap**" name="pixmap_return"/>
@ -2588,7 +2588,7 @@
<parameter type="int" name="alpha_threshold"/>
</parameters>
</method>
<method name="RenderPixmapAndMaskForColormap" cname="gdk_pixbuf_render_pixmap_and_mask_for_colormap" library="gdk-x11-2.0">
<method name="RenderPixmapAndMaskForColormap" cname="gdk_pixbuf_render_pixmap_and_mask_for_colormap" library="libgdk-win32-2.0-0.dll">
<return-type type="void"/>
<parameters>
<parameter type="GdkColormap*" name="colormap"/>
@ -2597,7 +2597,7 @@
<parameter type="int" name="alpha_threshold"/>
</parameters>
</method>
<method name="RenderThresholdAlpha" cname="gdk_pixbuf_render_threshold_alpha" library="gdk-x11-2.0">
<method name="RenderThresholdAlpha" cname="gdk_pixbuf_render_threshold_alpha" library="libgdk-win32-2.0-0.dll">
<return-type type="void"/>
<parameters>
<parameter type="GdkBitmap*" name="bitmap"/>
@ -2610,7 +2610,7 @@
<parameter type="int" name="alpha_threshold"/>
</parameters>
</method>
<method name="RenderToDrawable" cname="gdk_pixbuf_render_to_drawable" library="gdk-x11-2.0">
<method name="RenderToDrawable" cname="gdk_pixbuf_render_to_drawable" library="libgdk-win32-2.0-0.dll">
<return-type type="void"/>
<parameters>
<parameter type="GdkDrawable*" name="drawable"/>
@ -2626,7 +2626,7 @@
<parameter type="int" name="y_dither"/>
</parameters>
</method>
<method name="RenderToDrawableAlpha" cname="gdk_pixbuf_render_to_drawable_alpha" library="gdk-x11-2.0">
<method name="RenderToDrawableAlpha" cname="gdk_pixbuf_render_to_drawable_alpha" library="libgdk-win32-2.0-0.dll">
<return-type type="void"/>
<parameters>
<parameter type="GdkDrawable*" name="drawable"/>

View file

@ -76,10 +76,21 @@
<data>
<attribute target="method">
<name>library</name>
<value>gdk-x11-2.0</value>
<value>libgdk-win32-2.0-0.dll</value>
</attribute>
</data>
</rule>
<rule>
<class name="GdkColor">
<method>Parse</method>
</class>
<data>
<attribute target="return">
<name>type</name>
<value>gboolean</value>
</attribute>
</data>
</rule>
<!-- ref parameters -->
<rule>