diff options
author | Daniel Teichmann <daniel.teichmann@das-netzwerkteam.de> | 2021-11-19 14:02:06 +0300 |
---|---|---|
committer | Daniel Teichmann <daniel.teichmann@das-netzwerkteam.de> | 2021-11-23 18:24:57 +0300 |
commit | d814a0f9aeb004da5aa3166a8475249477e46dfb (patch) | |
tree | c0ef27eff705e9175c149f558a4ef8b6550fec22 /plugins/x2go | |
parent | f8c74f9f90ae541316c3f6a710a38799d93f9327 (diff) |
x2go_plugin.c: Add dialog_factory_{func, data} to _DialogData inits.
Diffstat (limited to 'plugins/x2go')
-rw-r--r-- | plugins/x2go/x2go_plugin.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/x2go/x2go_plugin.c b/plugins/x2go/x2go_plugin.c index f353f9a71..fa11ec297 100644 --- a/plugins/x2go/x2go_plugin.c +++ b/plugins/x2go/x2go_plugin.c @@ -1347,6 +1347,9 @@ static void rmplugin_x2go_pyhoca_cli_exited(GPid pid, "reachable."); // We don't need the response. ddata->callbackfunc = NULL; + // We don't need a custom dialog either. + ddata->dialog_factory_func = NULL; + ddata->dialog_factory_data = NULL; IDLE_ADD((GSourceFunc) rmplugin_x2go_open_dialog, gp); // 1 Second. Give `Dialog` chance to open. @@ -2105,6 +2108,9 @@ static gboolean rmplugin_x2go_exec_x2go(gchar *host, error->message); // We don't need the response. ddata->callbackfunc = NULL; + // We don't need a custom dialog either. + ddata->dialog_factory_func = NULL; + ddata->dialog_factory_data = NULL; IDLE_ADD((GSourceFunc) rmplugin_x2go_open_dialog, gp); g_strlcpy(errmsg, error_title, 512); |