[evince/gnome-2-30] [shell] Remove redundant check
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince/gnome-2-30] [shell] Remove redundant check
- Date: Tue, 4 May 2010 18:39:31 +0000 (UTC)
commit b7382289ce566243847e6cab32490c6ba711a3bf
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 3124e0a..50a85c4 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -5470,7 +5470,7 @@ window_configure_event_cb (EvWindow *window, GdkEventConfigure *event, gpointer
state = gdk_window_get_state (GTK_WIDGET (window)->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);
ev_metadata_set_double (window->priv->last_settings, "window_width_ratio",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]