summaryrefslogtreecommitdiff
path: root/shell/ev-window.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2018-12-16 12:28:04 +0300
committerraveit65 <[email protected]>2019-01-21 14:23:51 +0100
commitd43c6754043c26f4be460f1842fa3dc8a3ff49e3 (patch)
tree7273f74d92fa0b94ebe483ad3d17f3a44ac02dfc /shell/ev-window.c
parent19c3072e4efacf4949540c10f377b78ddb047671 (diff)
downloadatril-d43c6754043c26f4be460f1842fa3dc8a3ff49e3.tar.bz2
atril-d43c6754043c26f4be460f1842fa3dc8a3ff49e3.tar.xz
shell: remove duplicate condition check
Diffstat (limited to 'shell/ev-window.c')
-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;
}