summaryrefslogtreecommitdiff
path: root/gdk-pixbuf/gdk-pixbuf-loader.c
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2002-04-09 00:38:38 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2002-04-09 00:38:38 +0000
commit3bd5fc010a6d822d268f4aaa78590b05cf92e339 (patch)
tree64d7b7b7eba6237bd49c7f90543cd6e4ec679f2c /gdk-pixbuf/gdk-pixbuf-loader.c
parent4862c90b756c1178e8378472dc7ea932ce83bcf3 (diff)
downloadgdk-pixbuf-3bd5fc010a6d822d268f4aaa78590b05cf92e339.tar.gz
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.
Diffstat (limited to 'gdk-pixbuf/gdk-pixbuf-loader.c')
-rw-r--r--gdk-pixbuf/gdk-pixbuf-loader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf-loader.c b/gdk-pixbuf/gdk-pixbuf-loader.c
index 148f9c744..52b1f112a 100644
--- a/gdk-pixbuf/gdk-pixbuf-loader.c
+++ b/gdk-pixbuf/gdk-pixbuf-loader.c
@@ -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;
}