Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 611390 | Differences between
and this patch

Collapse All | Expand All

(-)a/thumbnailer/gnome-thumbnailer-skeleton.c (-1 / +5 lines)
Lines 315-325 int main (int argc, char **argv) Link Here
315
#endif
315
#endif
316
	g_free (input_filename);
316
	g_free (input_filename);
317
317
318
	if (!pixbuf) {
318
	if (!pixbuf && error) {
319
		g_warning ("Could not thumbnail '%s': %s", filenames[0], error->message);
319
		g_warning ("Could not thumbnail '%s': %s", filenames[0], error->message);
320
		g_error_free (error);
320
		g_error_free (error);
321
		g_strfreev (filenames);
321
		g_strfreev (filenames);
322
		return 1;
322
		return 1;
323
	} else if (!pixbuf) {
324
		g_warning ("Could not thumbnail '%s'", filenames[0]);
325
		g_strfreev (filenames);
326
		return 1;
323
	}
327
	}
324
328
325
	if (gdk_pixbuf_save (pixbuf, output, "png", &error, NULL) == FALSE) {
329
	if (gdk_pixbuf_save (pixbuf, output, "png", &error, NULL) == FALSE) {

Return to bug 611390