summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/terminal.c4
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);
}