summaryrefslogtreecommitdiff
path: root/gtk/gtk_bitmap.c
diff options
context:
space:
mode:
authorAdrian Lees <adrian@aemulor.com>2008-03-24 01:35:13 +0000
committerAdrian Lees <adrian@aemulor.com>2008-03-24 01:35:13 +0000
commitaefa03aed9333906dd0f3db794b79dcf41796729 (patch)
treeba8b71617ad33ac9dd35a782b6d162cfe6590d4f /gtk/gtk_bitmap.c
parent175395b52dcd9f1cbae2f27ef7066fda731083f4 (diff)
downloadnetsurf-aefa03aed9333906dd0f3db794b79dcf41796729.tar.gz
netsurf-aefa03aed9333906dd0f3db794b79dcf41796729.tar.bz2
Save non-opaque images with a proper mask/full alpha channel
svn path=/trunk/netsurf/; revision=4047
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 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;