1999-11-04 07:30:04 +00:00
|
|
|
<!-- ##### SECTION Title ##### -->
|
1999-11-04 08:14:32 +00:00
|
|
|
Reference Counting
|
1999-11-04 07:30:04 +00:00
|
|
|
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
1999-11-04 08:14:32 +00:00
|
|
|
Functions to perform reference counting on a #GdkPixbuf.
|
1999-11-04 07:30:04 +00:00
|
|
|
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
1999-11-04 08:14:32 +00:00
|
|
|
<para>
|
|
|
|
#GdkPixbuf structures are reference counted. This means that
|
|
|
|
an application can share a single pixbuf among many parts of the
|
|
|
|
code. When a piece of the program needs to keep a pointer to a
|
|
|
|
pixbuf, it should add a reference to it. When it no longer needs
|
|
|
|
the pixbuf, it should subtract a reference. The pixbuf will be
|
|
|
|
destroyed when its reference count drops to zero. Newly-created
|
|
|
|
#GdkPixbuf structures start with a reference count of one.
|
|
|
|
</para>
|
1999-11-04 07:30:04 +00:00
|
|
|
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
1999-11-04 08:14:32 +00:00
|
|
|
<para>
|
1999-11-04 21:52:08 +00:00
|
|
|
#GdkPixbuf, #ArtPixBuf
|
1999-11-04 08:14:32 +00:00
|
|
|
</para>
|
1999-11-04 07:30:04 +00:00
|
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_pixbuf_ref ##### -->
|
1999-11-04 08:14:32 +00:00
|
|
|
<para>
|
1999-11-04 07:30:04 +00:00
|
|
|
|
1999-11-04 08:14:32 +00:00
|
|
|
</para>
|
1999-11-04 07:30:04 +00:00
|
|
|
|
|
|
|
@pixbuf:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_pixbuf_unref ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
1999-11-10 22:48:46 +00:00
|
|
|
@pixbuf: <!--
|
1999-11-04 08:14:32 +00:00
|
|
|
Local variables:
|
|
|
|
mode: sgml
|
|
|
|
sgml-parent-document: ("../gdk-pixbuf.sgml" "book" "refsect2" "")
|
|
|
|
End:
|
|
|
|
-->
|
1999-11-04 21:52:08 +00:00
|
|
|
|
|
|
|
|