* [Qemu-devel] [PATCH] gtk: fix vte version check
@ 2016-06-08 21:43 Olaf Hering
2016-06-10 9:13 ` Gerd Hoffmann
0 siblings, 1 reply; 2+ messages in thread
From: Olaf Hering @ 2016-06-08 21:43 UTC (permalink / raw)
To: Gerd Hoffmann, Paolo Bonzini; +Cc: qemu-devel, Olaf Hering
vte_terminal_set_encoding takes 3 args since 0.38.0.
This fixes commit fba958c6 ("gtk: implement set_echo")
Signed-off-by: Olaf Hering <olaf@aepfle.de>
---
ui/gtk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/gtk.c b/ui/gtk.c
index 01b8216..58d20ee 100644
--- a/ui/gtk.c
+++ b/ui/gtk.c
@@ -1748,7 +1748,7 @@ static GSList *gd_vc_vte_init(GtkDisplayState *s, VirtualConsole *vc,
/* The documentation says that the default is UTF-8, but actually it is
* 7-bit ASCII at least in VTE 0.38.
*/
-#if VTE_CHECK_VERSION(0, 40, 0)
+#if VTE_CHECK_VERSION(0, 38, 0)
vte_terminal_set_encoding(VTE_TERMINAL(vc->vte.terminal), "UTF-8", NULL);
#else
vte_terminal_set_encoding(VTE_TERMINAL(vc->vte.terminal), "UTF-8");
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [PATCH] gtk: fix vte version check
2016-06-08 21:43 [Qemu-devel] [PATCH] gtk: fix vte version check Olaf Hering
@ 2016-06-10 9:13 ` Gerd Hoffmann
0 siblings, 0 replies; 2+ messages in thread
From: Gerd Hoffmann @ 2016-06-10 9:13 UTC (permalink / raw)
To: Olaf Hering; +Cc: Paolo Bonzini, qemu-devel
On Mi, 2016-06-08 at 21:43 +0000, Olaf Hering wrote:
> vte_terminal_set_encoding takes 3 args since 0.38.0.
> This fixes commit fba958c6 ("gtk: implement set_echo")
Added to ui patch queue.
thanks,
Gerd
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-06-10 9:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-08 21:43 [Qemu-devel] [PATCH] gtk: fix vte version check Olaf Hering
2016-06-10 9:13 ` Gerd Hoffmann
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.