[gnome-terminal] util: Fix deprecation warning
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal] util: Fix deprecation warning
- Date: Fri, 4 Jun 2021 18:13:29 +0000 (UTC)
commit adb52bc4bff8cce733a7b31d63e0b4ae3df3d021
Author: Christian Persch <chpe src gnome org>
Date: Fri Jun 4 20:13:18 2021 +0200
util: Fix deprecation warning
src/terminal-util.cc | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/terminal-util.cc b/src/terminal-util.cc
index 48f6f8c9..db3a756c 100644
--- a/src/terminal-util.cc
+++ b/src/terminal-util.cc
@@ -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 {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]