gtk: Don't vte_terminal_set_encoding() on new VTE versions
commit6415994ffcc6d22b3f5add67f63fe77e4b9711f4
authorKevin Wolf <kwolf@redhat.com>
Thu, 11 Oct 2018 15:30:39 +0000 (11 17:30 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 12 Oct 2018 12:40:02 +0000 (12 14:40 +0200)
treec1727baaec3756ecdbba65926823e4fe76b40716
parent75e50c80e051423a6f55a34ee4a1eec842444a5b
gtk: Don't vte_terminal_set_encoding() on new VTE versions

The function vte_terminal_set_encoding() is deprecated since VTE 0.54,
so stop calling it from that version on. This fixes a build error
because of our use of warning flags [-Werror=deprecated-declarations].

Fixes: https://bugs.launchpad.net/bugs/1794939
Reported-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-id: 20181011153039.2324-1-kwolf@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ui/gtk.c