Use priv->image_module->module_name instead of image_type which may be

* gdk-pixbuf-loader.c (gdk_pixbuf_loader_load_module): Use
	priv->image_module->module_name instead of image_type which may
	be NULL.
This commit is contained in:
Matthias Clasen 2002-04-09 00:38:38 +00:00
parent 4862c90b75
commit 3bd5fc010a
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2002-04-09 Matthias Clasen <maclas@gmx.de>
* gdk-pixbuf-loader.c (gdk_pixbuf_loader_load_module): Use
priv->image_module->module_name instead of image_type which may
be NULL.
2002-04-06 Matthias Clasen <maclas@gmx.de>
* io-png.c (gdk_pixbuf__png_image_load): Restructured to use

View File

@ -248,7 +248,7 @@ gdk_pixbuf_loader_load_module (GdkPixbufLoader *loader,
GDK_PIXBUF_ERROR,
GDK_PIXBUF_ERROR_UNSUPPORTED_OPERATION,
_("Incremental loading of image type '%s' is not supported"),
image_type);
priv->image_module->module_name);
return 0;
}