summaryrefslogtreecommitdiff
path: root/src/terminal-app.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/terminal-app.c')
-rw-r--r--src/terminal-app.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/terminal-app.c b/src/terminal-app.c
index 9839c88..bfec5b5 100644
--- a/src/terminal-app.c
+++ b/src/terminal-app.c
@@ -1849,7 +1849,10 @@ terminal_app_handle_options (TerminalApp *app,
"[window %p] applying geometry %s\n",
window, iw->geometry);
- if (!gtk_window_parse_geometry (GTK_WINDOW (window), iw->geometry))
+ if (!terminal_window_set_size_force_grid (window,
+ terminal_window_get_active (window),
+ FALSE,
+ iw->geometry))
g_printerr (_("Invalid geometry string \"%s\"\n"), iw->geometry);
}