@@ -, +, @@ returned thumbnailer/gnome-thumbnailer-skeleton.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) --- a/thumbnailer/gnome-thumbnailer-skeleton.c +++ a/thumbnailer/gnome-thumbnailer-skeleton.c @@ -315,11 +315,15 @@ int main (int argc, char **argv) #endif g_free (input_filename); - if (!pixbuf) { + if (!pixbuf && error) { g_warning ("Could not thumbnail '%s': %s", filenames[0], error->message); g_error_free (error); g_strfreev (filenames); return 1; + } else if (!pixbuf) { + g_warning ("Could not thumbnail '%s'", filenames[0]); + g_strfreev (filenames); + return 1; } if (gdk_pixbuf_save (pixbuf, output, "png", &error, NULL) == FALSE) {