diff options
author | Antenore Gatta <antenore@simbiosi.org> | 2020-05-18 16:17:05 +0300 |
---|---|---|
committer | Antenore Gatta <antenore@simbiosi.org> | 2020-05-18 16:17:05 +0300 |
commit | e99887cd894e2a5db49ea64e50af25929e9cc015 (patch) | |
tree | f2ba8da7fb6b49f404ca8b5223927bb054e419d8 /plugins/rdp/rdp_channels.c | |
parent | 9f7a64d3d09410686863c7f4b1ebc17ee363b85a (diff) |
New remmina_debug function, replaces remmina_log_print, remmina_log_printf and g_debug
remmina_debug is meant to be used in place of remmina_log_print, remmina_log_printf and g_debug, to print debug
messages in the remmina log window and in the STDOUT
Diffstat (limited to 'plugins/rdp/rdp_channels.c')
-rw-r--r-- | plugins/rdp/rdp_channels.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/rdp/rdp_channels.c b/plugins/rdp/rdp_channels.c index cc01b6daa..e0847c259 100644 --- a/plugins/rdp/rdp_channels.c +++ b/plugins/rdp/rdp_channels.c @@ -79,7 +79,7 @@ void remmina_rdp_OnChannelConnectedEventHandler(rdpContext* context, ChannelConn if (rfi->scale == REMMINA_PROTOCOL_WIDGET_SCALE_MODE_DYNRES) { remmina_rdp_event_send_delayed_monitor_layout(rfi->protocol_widget); } - }remmina_plugin_service->log_printf("Channel %s has been opened\n", e->name); + }remmina_plugin_service->debug("Channel %s has been opened", e->name); } void remmina_rdp_OnChannelDisconnectedEventHandler(rdpContext* context, ChannelConnectedEventArgs* e) @@ -91,6 +91,6 @@ void remmina_rdp_OnChannelDisconnectedEventHandler(rdpContext* context, ChannelC if (rfi->settings->SoftwareGdi) gdi_graphics_pipeline_uninit(context->gdi, (RdpgfxClientContext*) e->pInterface); } - remmina_plugin_service->log_printf("Channel %s has been closed\n", e->name); + remmina_plugin_service->debug("Channel %s has been closed", e->name); } |