128
128
You can also copy an existing pixbuf with the <a class="link" href="gdk-pixbuf-creating.html#gdk-pixbuf-copy" title="gdk_pixbuf_copy ()"><code class="function">gdk_pixbuf_copy()</code></a>
129
129
function. This is not the same as just doing a <a
131
131
><code class="function">g_object_ref()</code></a>
132
132
on the old pixbuf; the copy function will actually duplicate the
133
133
pixel data in memory and create a new <a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> structure for it.