From 270571fe9d9ab085696c5b2af5a484dfc272b7a0 Mon Sep 17 00:00:00 2001 From: Nickolay V. Shmyrev Date: Fri, 10 Jun 2005 14:49:25 +0000 Subject: Transfer remote documents to tmp directory to display them later --- (limited to 'thumbnailer/evince-thumbnailer.c') diff --git a/thumbnailer/evince-thumbnailer.c b/thumbnailer/evince-thumbnailer.c index dfa521b..c4a02cb 100644 --- a/thumbnailer/evince-thumbnailer.c +++ b/thumbnailer/evince-thumbnailer.c @@ -38,8 +38,8 @@ evince_thumbnail_pngenc_get (const char *uri, const char *thumbnail, int size) GType document_type; char *mime_type = NULL; - document_type = ev_document_type_lookup (uri, &mime_type); - if (document_type == G_TYPE_INVALID) + document_type = ev_document_type_lookup (uri, &mime_type, &error); + if (document_type == G_TYPE_INVALID || error != NULL) return FALSE; document = g_object_new (document_type, NULL); -- cgit v0.9.1