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:
authorAntenore Gatta <antenore.gatta@kyndryl.com>2021-10-27 01:36:47 +0300
committerAntenore Gatta <antenore.gatta@kyndryl.com>2021-10-27 01:36:47 +0300
commit22afd07de7055b32742dff6c5a36ff45ad29adb2 (patch)
tree66b18dae8dbce10306ca4dd0054c45f9f950cf6d /src/remmina_protocol_widget.c
parent31453942043b12c6bb13016f8571ef4c0b6a4880 (diff)
Move last_success to state file
This is a huge refactoring of the Remmina File interface. In particular this patch move the last_success to the Remmina state file. See issue #2271 and #1991
Diffstat (limited to 'src/remmina_protocol_widget.c')
-rw-r--r--src/remmina_protocol_widget.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/remmina_protocol_widget.c b/src/remmina_protocol_widget.c
index f93973aeb..f322f1628 100644
--- a/src/remmina_protocol_widget.c
+++ b/src/remmina_protocol_widget.c
@@ -364,11 +364,10 @@ static gboolean conn_opened(gpointer data)
{
TRACE_CALL(__func__);
RemminaProtocolWidget *gp = (RemminaProtocolWidget *)data;
- guint i;
#ifdef HAVE_LIBSSH
if (gp->priv->ssh_tunnels) {
- for(i = 0;i < gp->priv->ssh_tunnels->len; i++) {
+ for(guint i = 0;i < gp->priv->ssh_tunnels->len; i++) {
remmina_ssh_tunnel_cancel_accept((RemminaSSHTunnel *)gp->priv->ssh_tunnels->pdata[i]);
}
}
@@ -387,7 +386,7 @@ static gboolean conn_opened(gpointer data)
void remmina_protocol_widget_signal_connection_opened(RemminaProtocolWidget *gp)
{
- /* Plugin told us that it closed the connection,
+ /* Plugin told us that it opened the connection,
* add async event to main thread to complete our close tasks */
TRACE_CALL(__func__);
g_idle_add(conn_opened, (gpointer)gp);
@@ -486,7 +485,6 @@ void remmina_protocol_widget_close_connection(RemminaProtocolWidget *gp)
return;
}
-
/** Check if the plugin accepts keystrokes.
*/
gboolean remmina_protocol_widget_plugin_receives_keystrokes(RemminaProtocolWidget *gp)
@@ -729,7 +727,7 @@ void remmina_protocol_widget_emit_signal(RemminaProtocolWidget *gp, const gchar
{
TRACE_CALL(__func__);
- g_print("Emitting signals should be used from the object itself, not from another object\n");
+ REMMINA_DEBUG("Emitting signals should be used from the object itself, not from another object");
raise(SIGINT);
if (!remmina_masterthread_exec_is_main_thread()) {