diff options
author | monsta <[email protected]> | 2017-12-25 16:52:06 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2017-12-25 16:52:06 +0300 |
commit | 08bebc7780ae5dde62ee161a24a7207823530944 (patch) | |
tree | 076b12b519eee1ad34be75ed7dcc7bd66d59e3b0 | |
parent | 1f26d265683cec54c24a5ba2f2b9ab3bbcea917d (diff) | |
download | mate-terminal-08bebc7780ae5dde62ee161a24a7207823530944.tar.bz2 mate-terminal-08bebc7780ae5dde62ee161a24a7207823530944.tar.xz |
fix possible crash when handling DBus method call
fixes https://github.com/mate-desktop/mate-terminal/issues/85
-rw-r--r-- | src/terminal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/terminal.c b/src/terminal.c index fd39e13..f8076a8 100644 --- a/src/terminal.c +++ b/src/terminal.c @@ -185,10 +185,10 @@ method_call_cb (GDBusConnection *connection, &error, NULL); - options->initial_workspace = initial_workspace; - if (options != NULL) { + options->initial_workspace = initial_workspace; + terminal_app_handle_options (terminal_app_get (), options, FALSE /* no resume */, &error); terminal_options_free (options); } |