GDK-PixBuf Reference Manual | ||||
---|---|---|---|---|
Top | Description |
#include <gdk-pixbuf/gdk-pixbuf.h> GdkPixbuf * gdk_pixbuf_ref (GdkPixbuf *pixbuf
); void gdk_pixbuf_unref (GdkPixbuf *pixbuf
); void (*GdkPixbufDestroyNotify) (guchar *pixels
,gpointer data
);
GdkPixbuf * gdk_pixbuf_ref (GdkPixbuf *pixbuf
);
gdk_pixbuf_ref
has been deprecated since version 2.0 and should not be used in newly-written code. Use g_object_ref()
.
Adds a reference to a pixbuf.
|
A pixbuf. |
Returns : |
The same as the pixbuf argument.
|
void gdk_pixbuf_unref (GdkPixbuf *pixbuf
);
gdk_pixbuf_unref
has been deprecated since version 2.0 and should not be used in newly-written code. Use g_object_unref()
.
Removes a reference from a pixbuf.
|
A pixbuf. |