Commit 37cb4f7d authored by Dominic Lachowicz's avatar Dominic Lachowicz Committed by Dom Lachowicz

It's perfectly acceptable for a module to only support the

2008-02-22  Dominic Lachowicz  <domlachowicz@gmail.com>

        * 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


svn path=/trunk/; revision=19632
parent 183cdbe0
2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
* 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 <mclasen@redhat.com>
* configure.in: Bump version
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment