[gnome-terminal] Fix embarassing width/height mistake
- From: Owen Taylor <otaylor src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal] Fix embarassing width/height mistake
- Date: Sun, 10 Oct 2010 01:20:31 +0000 (UTC)
commit d69ebe5c9c38f5fa0b8faea0b8ad9e24acb932c5
Author: Owen W. Taylor <otaylor fishsoup net>
Date: Sat Oct 9 21:18:23 2010 -0400
Fix embarassing width/height mistake
With previous patch --geometry=80x24 gave a 24x80 terminal. Fix
width height reversal.
src/terminal-window.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/terminal-window.c b/src/terminal-window.c
index b62f1e8..c396bee 100644
--- a/src/terminal-window.c
+++ b/src/terminal-window.c
@@ -3045,7 +3045,7 @@ terminal_window_parse_geometry (TerminalWindow *window,
/* After parse_geometry(), the default size is in units of the
* width/height increment, not a pixel size */
- gtk_window_get_default_size (GTK_WINDOW (window), &grid_height, &grid_width);
+ gtk_window_get_default_size (GTK_WINDOW (window), &grid_width, &grid_height);
vte_terminal_set_size (VTE_TERMINAL (priv->active_screen),
grid_width, grid_height);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]