[evince] [shell] Remove redundant check
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] [shell] Remove redundant check
- Date: Tue, 4 May 2010 08:58:58 +0000 (UTC)
commit 5a3fc72a0268f18a72702149eec1fb5dc2882f0f
Author: Carlos Garcia Campos <carlosgc gnome org>
Date: Tue May 4 10:58:37 2010 +0200
[shell] Remove redundant check
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)",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]