Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/thumbnailer/evince-thumbnailer.c
diff options
context:
space:
mode:
authorNickolay V. Shmyrev <nshmyrev@src.gnome.org>2005-06-10 14:49:25 (GMT)
committer Nickolay V. Shmyrev <nshmyrev@src.gnome.org>2005-06-10 14:49:25 (GMT)
commit270571fe9d9ab085696c5b2af5a484dfc272b7a0 (patch)
treeeaf692d3cc9270c54228a9e473c948ee217b9c02 /thumbnailer/evince-thumbnailer.c
parentf79d6e977948ded983460e2756fe6fc628719305 (diff)
Transfer remote documents to tmp directory to display them later
Diffstat (limited to 'thumbnailer/evince-thumbnailer.c')
-rw-r--r--thumbnailer/evince-thumbnailer.c4
1 files changed, 2 insertions, 2 deletions
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);