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@simbiosi.org>2021-01-07 16:15:24 +0300
committerAntenore Gatta <antenore@simbiosi.org>2021-01-07 16:15:24 +0300
commit8f9f43ae1292a33296edf1053cbd7edfefa02445 (patch)
tree72236485f9cab77f3313a6bec28c38f25a417b45 /src/remmina_ssh_plugin.c
parent7acf4999e293df080bbb76a6bc783f1f1cff1c1b (diff)
Dealing with deprecated symbol vte_terminal_set_allow_bold
Diffstat (limited to 'src/remmina_ssh_plugin.c')
-rw-r--r--src/remmina_ssh_plugin.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/remmina_ssh_plugin.c b/src/remmina_ssh_plugin.c
index 4ccef7476..db6b82788 100644
--- a/src/remmina_ssh_plugin.c
+++ b/src/remmina_ssh_plugin.c
@@ -444,7 +444,11 @@ remmina_plugin_ssh_set_vte_pref(RemminaProtocolWidget *gp)
pango_font_description_from_string(remmina_pref.vte_font));
#endif
}
+#if VTE_CHECK_VERSION(0, 50, 0)
+ REMMINA_DEBUG ("vte_terminal_set_allow_bold not set as deprecated");
+#else
vte_terminal_set_allow_bold(VTE_TERMINAL(gpdata->vte), remmina_pref.vte_allow_bold_text);
+#endif
if (remmina_pref.vte_lines > 0)
vte_terminal_set_scrollback_lines(VTE_TERMINAL(gpdata->vte), remmina_pref.vte_lines);
}