gtk: Don't use deprecated vte_terminal_get_adjustment
commit105923e08c724c2a5561673442bca91ddab83b41
authorCole Robinson <crobinso@redhat.com>
Mon, 17 Mar 2014 20:06:25 +0000 (17 16:06 -0400)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 29 Apr 2014 08:46:30 +0000 (29 10:46 +0200)
tree8df4b9a834b26ac073dec3898e27c2aab56caf16
parent9068f20dfbc8e24afe467ce568dc30049b520652
gtk: Don't use deprecated vte_terminal_get_adjustment

Guard this with a VTE version check, since I'm not sure if this is backwards
compatible.

ui/gtk.c: In function ‘gd_vc_init’:
ui/gtk.c:1176:5: error: ‘vte_terminal_get_adjustment’ is deprecated (declared at /usr/include/vte-2.90/vte/vtedeprecated.h:101) [-Werror=deprecated-declarations]

Signed-off-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ui/gtk.c