fix possible crash when handling DBus method call
fixes https://github.com/mate-desktop/mate-terminal/issues/85master-1.22
parent
1f26d26568
commit
08bebc7780
|
@ -185,10 +185,10 @@ method_call_cb (GDBusConnection *connection,
|
||||||
&error,
|
&error,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
options->initial_workspace = initial_workspace;
|
|
||||||
|
|
||||||
if (options != NULL)
|
if (options != NULL)
|
||||||
{
|
{
|
||||||
|
options->initial_workspace = initial_workspace;
|
||||||
|
|
||||||
terminal_app_handle_options (terminal_app_get (), options, FALSE /* no resume */, &error);
|
terminal_app_handle_options (terminal_app_get (), options, FALSE /* no resume */, &error);
|
||||||
terminal_options_free (options);
|
terminal_options_free (options);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue