]> xenbits.xensource.com Git - qemu-xen.git/commit
gtk: Don't vte_terminal_set_encoding() on new VTE versions
authorKevin Wolf <kwolf@redhat.com>
Thu, 11 Oct 2018 15:30:39 +0000 (17:30 +0200)
committerAnthony PERARD <anthony.perard@citrix.com>
Tue, 5 Feb 2019 16:45:46 +0000 (16:45 +0000)
commit8a0df40718c2a2fce0dd4b3801b4921d7a1333f3
tree8345b7c6d374c044b50f68054148f753921239a8
parent6ea4cef2bd717045ac0e84b52a5b1b7716feb0c2
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>
(cherry picked from commit 6415994ffcc6d22b3f5add67f63fe77e4b9711f4)
ui/gtk.c