summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shell/ev-window.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c
index b4d24b09..37c31047 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -1562,7 +1562,6 @@ ev_window_refresh_window_thumbnail (EvWindow *ev_window)
EvDocument *document = ev_window->priv->document;
if (!document || ev_document_get_n_pages (document) <= 0 ||
- ev_document_get_n_pages (document) <= 0 ||
!ev_document_check_dimensions (document)) {
return;
}