diff options
-rw-r--r-- | thumbnailer/gdk-pixbuf-thumbnailer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/thumbnailer/gdk-pixbuf-thumbnailer.c b/thumbnailer/gdk-pixbuf-thumbnailer.c index bd07d5e16..a10483e15 100644 --- a/thumbnailer/gdk-pixbuf-thumbnailer.c +++ b/thumbnailer/gdk-pixbuf-thumbnailer.c @@ -100,7 +100,8 @@ create_loader (GFile *file, } if (loader == NULL) { - g_debug ("Unable to create loader for mime type %s: %s", mime_type, error->message); + g_debug ("Unable to create loader for mime type %s: %s", mime_type, + (error != NULL) ? error->message : "(null)"); g_clear_error (&error); loader = gdk_pixbuf_loader_new (); } |