summaryrefslogtreecommitdiff
path: root/gtk/gtk_bitmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtk_bitmap.c')
-rw-r--r--gtk/gtk_bitmap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtk_bitmap.c b/gtk/gtk_bitmap.c
index 0121963fe..f1c184a4f 100644
--- a/gtk/gtk_bitmap.c
+++ b/gtk/gtk_bitmap.c
@@ -32,10 +32,11 @@ struct bitmap;
*
* \param width width of image in pixels
* \param height width of image in pixels
+ * \param clear whether to clear the image ready for use
* \return an opaque struct bitmap, or NULL on memory exhaustion
*/
-struct bitmap *bitmap_create(int width, int height)
+struct bitmap *bitmap_create(int width, int height, bool clear)
{
GdkPixbuf *pixbuf = gdk_pixbuf_new(GDK_COLORSPACE_RGB, true, 8,
width, height);