diff options
author | Carlos Garcia Campos <carlosgc@gnome.org> | 2010-05-04 08:58:37 (GMT) |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@gnome.org> | 2010-05-04 08:58:37 (GMT) |
commit | 5a3fc72a0268f18a72702149eec1fb5dc2882f0f (patch) | |
tree | 44b4cdc50ac4ab50f85283d49bcf7570e84700de /shell | |
parent | 2b7b6bf6c958d95290100d2c48915c0dc9788e73 (diff) |
[shell] Remove redundant check
Diffstat (limited to 'shell')
-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 87ec655..38ac098 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -5489,7 +5489,7 @@ window_configure_event_cb (EvWindow *window, GdkEventConfigure *event, gpointer state = gdk_window_get_state (gtk_widget_get_window (GTK_WIDGET (window))); if (!(state & GDK_WINDOW_STATE_FULLSCREEN)) { - if (!ev_window_is_empty (window) && window->priv->document) { + if (window->priv->document) { ev_document_get_max_page_size (window->priv->document, &document_width, &document_height); g_settings_set (window->priv->last_settings, "window-ratio", "(dd)", |