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:
authorakallabeth <akallabeth@posteo.net>2021-03-02 20:00:34 +0300
committerakallabeth <akallabeth@posteo.net>2021-03-02 21:01:41 +0300
commitbcfc979d4566221d08de89312d6aa5e80deb4db4 (patch)
tree900cde4ada9064a223469a6b09058c458e476730 /plugins/rdp/rdp_channels.c
parent0ad90e24065c80b9941b6db5147cd5708a63c4f1 (diff)
Removed direct rdpSettings access
Diffstat (limited to 'plugins/rdp/rdp_channels.c')
-rw-r--r--plugins/rdp/rdp_channels.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/rdp/rdp_channels.c b/plugins/rdp/rdp_channels.c
index d4e5933f0..a69ab39f8 100644
--- a/plugins/rdp/rdp_channels.c
+++ b/plugins/rdp/rdp_channels.c
@@ -56,7 +56,7 @@ void remmina_rdp_OnChannelConnectedEventHandler(rdpContext* context, ChannelConn
g_print("Unimplemented: channel %s connected but we can’t use it\n", e->name);
// xf_tsmf_init(xfc, (TsmfClientContext*) e->pInterface);
}else if (g_strcmp0(e->name, RDPGFX_DVC_CHANNEL_NAME) == 0) {
- if (rfi->settings->SoftwareGdi) {
+ if (freerdp_settings_get_bool(rfi->settings, FreeRDP_SoftwareGdi)) {
rfi->rdpgfxchan = TRUE;
gdi_graphics_pipeline_init(context->gdi, (RdpgfxClientContext*) e->pInterface);
}
@@ -88,7 +88,7 @@ void remmina_rdp_OnChannelDisconnectedEventHandler(rdpContext* context, ChannelC
rfContext* rfi = (rfContext*)context;
if (strcmp(e->name, RDPGFX_DVC_CHANNEL_NAME) == 0) {
- if (rfi->settings->SoftwareGdi)
+ if (freerdp_settings_get_bool(rfi->settings, FreeRDP_SoftwareGdi))
gdi_graphics_pipeline_uninit(context->gdi, (RdpgfxClientContext*) e->pInterface);
}
REMMINA_PLUGIN_DEBUG("Channel %s has been closed", e->name);