diff options
author | Christian Persch <chpe@src.gnome.org> | 2021-06-04 20:14:42 +0200 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2021-06-04 20:14:42 +0200 |
commit | c0e61229a1d3b03915c25df384dcf093dc462a64 (patch) | |
tree | cb3478f152306afc7dcd0fbbafd70f8b33c7eb8c | |
parent | cbeba1976d23b7f13a7a8e81f5fc44ba5d07c920 (diff) | |
download | gnome-terminal-c0e61229a1d3b03915c25df384dcf093dc462a64.tar.gz |
util: Fix deprecation warning
-rw-r--r-- | src/terminal-util.c | 2 |
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 { |