diff options
author | Alexei Sorokin <[email protected]> | 2016-09-06 16:40:02 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-09-14 16:07:16 +0300 |
commit | 0e9e88a05cbc76921eade149e96ec734b7f345b3 (patch) | |
tree | 79241bc4e8707e2f4741463a117f3c28562876b6 /src/terminal-app.c | |
parent | 4786486f64bf9001500aec425477d7334ada540d (diff) | |
download | mate-terminal-0e9e88a05cbc76921eade149e96ec734b7f345b3.tar.bz2 mate-terminal-0e9e88a05cbc76921eade149e96ec734b7f345b3.tar.xz |
don't use deprecated gtk_window_parse_geometry()
Diffstat (limited to 'src/terminal-app.c')
-rw-r--r-- | src/terminal-app.c | 5 |
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); } |