diff options
Diffstat (limited to 'shell/ev-window.c')
-rw-r--r-- | shell/ev-window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c index bc8863a6..69c43a1e 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -4785,7 +4785,7 @@ ev_window_cmd_escape (GtkAction *action, EvWindow *window) { GtkWidget *widget; - if (!window->priv->document->iswebdocument && window->priv->view) + if (window->priv->document && !window->priv->document->iswebdocument && window->priv->view) ev_view_autoscroll_stop (EV_VIEW (window->priv->view)); widget = gtk_window_get_focus (GTK_WINDOW (window)); |