diff options
Diffstat (limited to 'gdk-pixbuf/gdk-pixbuf.h')
-rw-r--r-- | gdk-pixbuf/gdk-pixbuf.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf.h b/gdk-pixbuf/gdk-pixbuf.h index ec42cf3eae..47fce21777 100644 --- a/gdk-pixbuf/gdk-pixbuf.h +++ b/gdk-pixbuf/gdk-pixbuf.h @@ -59,6 +59,9 @@ void gdk_pixbuf_unref (GdkPixbuf *pixbuf); GdkPixbuf *gdk_pixbuf_new_from_art_pixbuf (ArtPixBuf *art_pixbuf); +/* Create a "blank" pixbuf with an optimal rowstride and a new buffer */ +GdkPixbuf *gdk_pixbuf_new (gboolean has_alpha, int width, int height); + /* Simple loading */ GdkPixbuf *gdk_pixbuf_new_from_file (const char *filename); |