summaryrefslogtreecommitdiff
path: root/docs/reference/gdk-pixbuf/tmpl/refcounting.sgml
blob: 9593e7210c5d1aadfb78f2b27dc11b95d2dbe245 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<!-- ##### SECTION Title ##### -->
Reference Counting

<!-- ##### SECTION Short_Description ##### -->
Functions to perform reference counting on a #GdkPixbuf.

<!-- ##### SECTION Long_Description ##### -->
  <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>

<!-- ##### SECTION See_Also ##### -->
  <para>
    #GdkPixbuf, #ArtPixBuf
  </para>

<!-- ##### FUNCTION gdk_pixbuf_ref ##### -->
  <para>

  </para>

@pixbuf: 
@Returns: 


<!-- ##### FUNCTION gdk_pixbuf_unref ##### -->
<para>

</para>

@pixbuf: <!--
Local variables:
mode: sgml
sgml-parent-document: ("../gdk-pixbuf.sgml" "book" "refsect2" "")
End:
-->