Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-page-cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ev-page-cache.c')
-rw-r--r--shell/ev-page-cache.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/shell/ev-page-cache.c b/shell/ev-page-cache.c
index 7c19232..c1af7d2 100644
--- a/shell/ev-page-cache.c
+++ b/shell/ev-page-cache.c
@@ -353,8 +353,7 @@ ev_page_cache_set_page_label (EvPageCache *page_cache,
/* convert from a page label to a page offset */
page --;
if (page >= 0 &&
- page < page_cache->n_pages &&
- page_cache->page_labels[page] == NULL) {
+ page < page_cache->n_pages) {
ev_page_cache_set_current_page (page_cache, page);
return TRUE;
}