diff --git a/ChangeLog b/ChangeLog index 5d75543528..e7121ced4f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-02-22 Dominic Lachowicz + + * gdk-pixbuf/queryloaders.c (loader_sanity_check): It's perfectly acceptable + for a module to only support the save_to_callback() method if it marks itself + as WRITABLE + 2008-02-16 Matthias Clasen * configure.in: Bump version diff --git a/gdk-pixbuf/queryloaders.c b/gdk-pixbuf/queryloaders.c index 11be6036ca..6a3a7c5694 100644 --- a/gdk-pixbuf/queryloaders.c +++ b/gdk-pixbuf/queryloaders.c @@ -104,7 +104,7 @@ loader_sanity_check (const char *path, GdkPixbufFormat *info, GdkPixbufModule *v goto error; } - if ((info->flags & GDK_PIXBUF_FORMAT_WRITABLE) && !vtable->save) + if ((info->flags & GDK_PIXBUF_FORMAT_WRITABLE) && !(vtable->save || vtable->save_to_callback)) { error = "loader claims to support saving but doesn't implement save"; goto error;