From 3bd5fc010a6d822d268f4aaa78590b05cf92e339 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 9 Apr 2002 00:38:38 +0000 Subject: [PATCH] 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. --- gdk-pixbuf/ChangeLog | 6 ++++++ gdk-pixbuf/gdk-pixbuf-loader.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gdk-pixbuf/ChangeLog b/gdk-pixbuf/ChangeLog index 7abfc86c23..6cde6b198a 100644 --- a/gdk-pixbuf/ChangeLog +++ b/gdk-pixbuf/ChangeLog @@ -1,3 +1,9 @@ +2002-04-09 Matthias Clasen + + * 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 * 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 148f9c7448..52b1f112a6 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; }