[gnome-terminal/gnome-3-40] util: Fix deprecation warning
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal/gnome-3-40] util: Fix deprecation warning
- Date: Fri, 4 Jun 2021 18:14:54 +0000 (UTC)
commit c0e61229a1d3b03915c25df384dcf093dc462a64
Author: Christian Persch <chpe src gnome org>
Date: Fri Jun 4 20:14:42 2021 +0200
util: Fix deprecation warning
src/terminal-util.c | 2 ++
1 file changed, 2 insertions(+)
---
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 {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]