Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/libview
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2010-04-13 15:05:39 (GMT)
committer Carlos Garcia Campos <carlosgc@gnome.org>2010-04-13 15:10:12 (GMT)
commit7ff46d04e6f8f6e3cd658f73c65b5d66be55ee63 (patch)
tree40bb42b045ddbe0e411fa6a54ee73c29ae5763fa /libview
parent088645f83c5a01832a11729ee1d2e59af6218198 (diff)
[libview] Do not set loading to FALSE unless we really have a document
Diffstat (limited to 'libview')
-rw-r--r--libview/ev-view.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libview/ev-view.c b/libview/ev-view.c
index c7e2b38..6e96fb8 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -4557,8 +4557,6 @@ ev_view_document_changed_cb (EvDocumentModel *model,
{
EvDocument *document = ev_document_model_get_document (model);
- view->loading = FALSE;
-
if (document != view->document) {
gint current_page;
@@ -4572,6 +4570,7 @@ ev_view_document_changed_cb (EvDocumentModel *model,
view->find_result = 0;
if (view->document) {
+ view->loading = FALSE;
g_object_ref (view->document);
setup_caches (view);
}