[evince/gnome-2-30] [shell] Fix typo: request_width -> request_height



commit aeed7b452035763188b65ec19c2d9e14a48c60d8
Author: EspeonEefi <eefi caretdotcaret org>
Date:   Tue May 4 20:42:40 2010 +0200

    [shell] Fix typo: request_width -> request_height

 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 50a85c4..922d69f 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -1084,7 +1084,7 @@ setup_document_from_metadata (EvWindow *window)
 		screen = gtk_window_get_screen (GTK_WINDOW (window));
 		if (screen) {
 			request_width = MIN (request_width, gdk_screen_get_width (screen));
-			request_height = MIN (request_width, gdk_screen_get_height (screen));
+			request_height = MIN (request_height, gdk_screen_get_height (screen));
 		}
 
 		if (request_width > 0 && request_height > 0) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]