From aefa03aed9333906dd0f3db794b79dcf41796729 Mon Sep 17 00:00:00 2001 From: Adrian Lees Date: Mon, 24 Mar 2008 01:35:13 +0000 Subject: Save non-opaque images with a proper mask/full alpha channel svn path=/trunk/netsurf/; revision=4047 --- gtk/gtk_bitmap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gtk') diff --git a/gtk/gtk_bitmap.c b/gtk/gtk_bitmap.c index 533159c23..2f4e1085c 100644 --- a/gtk/gtk_bitmap.c +++ b/gtk/gtk_bitmap.c @@ -171,10 +171,11 @@ void bitmap_destroy(struct bitmap *bitmap) * * \param bitmap a bitmap, as returned by bitmap_create() * \param path pathname for file + * \param flags modify the behaviour of the save * \return true on success, false on error and error reported */ -bool bitmap_save(struct bitmap *bitmap, const char *path) +bool bitmap_save(struct bitmap *bitmap, const char *path, unsigned flags) { GError *err = NULL; -- cgit v1.2.3