summaryrefslogtreecommitdiff
path: root/gdk-pixbuf
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
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')
-rw-r--r--gdk-pixbuf/ChangeLog6
-rw-r--r--gdk-pixbuf/gdk-pixbuf-loader.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/gdk-pixbuf/ChangeLog b/gdk-pixbuf/ChangeLog
index 7abfc86c2..6cde6b198 100644
--- a/gdk-pixbuf/ChangeLog
+++ b/gdk-pixbuf/ChangeLog
@@ -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
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;
}