summaryrefslogtreecommitdiff
path: root/shell/ev-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ev-window.c')
-rw-r--r--shell/ev-window.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 3da9df77..257a6acb 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -2456,11 +2456,9 @@ static void
ev_window_reload_document (EvWindow *ev_window,
EvLinkDest *dest)
{
- gint page;
ev_window_clear_reload_job (ev_window);
ev_window->priv->in_reload = TRUE;
- page = ev_document_model_get_page (ev_window->priv->model);
if (ev_window->priv->dest)
g_object_unref (ev_window->priv->dest);
ev_window->priv->dest = dest ? g_object_ref (dest) : NULL;