[evince] thumbnailer: Speed up thumbnailing
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] thumbnailer: Speed up thumbnailing
- Date: Sun, 26 Mar 2017 11:04:27 +0000 (UTC)
commit c7135f75c85f16508b3092be14f7fc6c060935e2
Author: Bastien Nocera <hadess hadess net>
Date: Mon Mar 20 18:28:27 2017 +0100
thumbnailer: Speed up thumbnailing
By not loading the page cache for all the pages.
https://bugzilla.gnome.org/show_bug.cgi?id=780210
thumbnailer/evince-thumbnailer.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/thumbnailer/evince-thumbnailer.c b/thumbnailer/evince-thumbnailer.c
index b348d43..6fce735 100644
--- a/thumbnailer/evince-thumbnailer.c
+++ b/thumbnailer/evince-thumbnailer.c
@@ -139,7 +139,7 @@ evince_thumbnailer_get_document (GFile *file)
uri = g_file_get_uri (file);
}
- document = ev_document_factory_get_document (uri, &error);
+ document = ev_document_factory_get_document_full (uri, EV_DOCUMENT_LOAD_FLAG_NO_CACHE, &error);
if (tmp_file) {
if (document) {
g_object_weak_ref (G_OBJECT (document),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]