Commit b8e4bfcb authored by Felipe Borges's avatar Felipe Borges 👣

frdp-session, display: Add some useful debug messages

parent d9dd5c9c
......@@ -184,6 +184,10 @@ frdp_display_open_host_cb (GObject *source_object,
if (success) {
g_signal_emit (self, signals[RDP_CONNECTED], 0);
g_debug ("Connection established");
} else {
g_debug ("Connection failed: %s", error->message);
}
}
......@@ -364,6 +368,8 @@ frdp_display_open_host (FrdpDisplay *display,
display);
g_signal_emit (display, signals[RDP_INITIALIZED], 0);
g_debug ("Connecting to %s…", host);
}
/**
......
......@@ -469,6 +469,8 @@ frdp_session_finalize (GObject *object)
freerdp_disconnect (self->priv->freerdp_session);
freerdp_context_free (self->priv->freerdp_session);
g_clear_pointer (&self->priv->freerdp_session, freerdp_free);
g_debug ("Session disconnected");
}
G_OBJECT_CLASS (frdp_session_parent_class)->finalize (object);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment