diff options
author | nshmyrev <nshmyrev@e12069bd-dc25-0410-a696-d39a8afcd844> | 2005-06-10 14:49:25 (GMT) |
---|---|---|
committer | nshmyrev <nshmyrev@e12069bd-dc25-0410-a696-d39a8afcd844> | 2005-06-10 14:49:25 (GMT) |
commit | 858e744f8d3b24347d90785917128f65b558976a (patch) | |
tree | a73307b97b0c636eb1adf01e9fed96710073e291 /thumbnailer | |
parent | 9608de720b8d3b93babb1d4dba138af6fd097f5a (diff) |
Transfer remote documents to tmp directory to display them later
git-svn-id: svn+ssh://svn.gnome.org/svn/evince/trunk@1010 e12069bd-dc25-0410-a696-d39a8afcd844
Diffstat (limited to 'thumbnailer')
-rw-r--r-- | thumbnailer/evince-thumbnailer.c | 4 |
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); |