summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2021-06-04 20:14:42 +0200
committerChristian Persch <chpe@src.gnome.org>2021-06-04 20:14:42 +0200
commitc0e61229a1d3b03915c25df384dcf093dc462a64 (patch)
treecb3478f152306afc7dcd0fbbafd70f8b33c7eb8c
parentcbeba1976d23b7f13a7a8e81f5fc44ba5d07c920 (diff)
downloadgnome-terminal-c0e61229a1d3b03915c25df384dcf093dc462a64.tar.gz
util: Fix deprecation warning
-rw-r--r--src/terminal-util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/terminal-util.c b/src/terminal-util.c
index 99628ea9..52b2463d 100644
--- a/src/terminal-util.c
+++ b/src/terminal-util.c
@@ -1442,8 +1442,10 @@ terminal_util_save_print_settings (GtkPrintSettings *settings,
const char*
terminal_util_translate_encoding (const char *encoding)
{
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
if (vte_get_encoding_supported (encoding))
return encoding;
+ G_GNUC_END_IGNORE_DEPRECATIONS;
/* ICU knows (or has aliases for) most of the old names, except the following */
struct {