Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/Remmina/Remmina.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Teichmann <daniel.teichmann@das-netzwerkteam.de>2021-11-19 14:02:06 +0300
committerDaniel Teichmann <daniel.teichmann@das-netzwerkteam.de>2021-11-23 18:24:57 +0300
commitd814a0f9aeb004da5aa3166a8475249477e46dfb (patch)
treec0ef27eff705e9175c149f558a4ef8b6550fec22 /plugins/x2go
parentf8c74f9f90ae541316c3f6a710a38799d93f9327 (diff)
x2go_plugin.c: Add dialog_factory_{func, data} to _DialogData inits.
Diffstat (limited to 'plugins/x2go')
-rw-r--r--plugins/x2go/x2go_plugin.c6
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);