2002-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* api/gdk-api.xml:
	* sources/Gdk.metadata: PixbufLoader.Pixbuf have to ref the new Pixbuf.

svn path=/trunk/gtk-sharp/; revision=9667
This commit is contained in:
Gonzalo Paniagua Javier 2002-12-15 11:58:37 +00:00
parent 41ed17399e
commit 35ef99c45f
3 changed files with 18 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* api/gdk-api.xml:
* sources/Gdk.metadata: PixbufLoader.Pixbuf have to ref the new Pixbuf.
2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* glib/Log.cs: removed the IntPtr argument and keep a reference to

View File

@ -2841,7 +2841,7 @@
<method name="GetAnimation" cname="gdk_pixbuf_loader_get_animation">
<return-type type="GdkPixbufAnimation*"/>
</method>
<method name="GetPixbuf" cname="gdk_pixbuf_loader_get_pixbuf">
<method name="GetPixbuf" cname="gdk_pixbuf_loader_get_pixbuf" needs_ref="1">
<return-type type="GdkPixbuf*"/>
</method>
<method name="GetType" cname="gdk_pixbuf_loader_get_type" shared="true">

View File

@ -137,4 +137,16 @@
</rule>
<rule>
<class name="GdkPixbufLoader">
<method>GetPixbuf</method>
</class>
<data>
<attribute target="method">
<name>needs_ref</name>
<value>1</value>
</attribute>
</data>
</rule>
</metadata>