summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorQiu Wenbo <qiuwenbo@kylinos.com.cn>2018-10-15 12:08:43 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2018-10-16 11:39:12 +0200
commite1186e0c923a43cd196f2bde4927050148abde36 (patch)
tree1e151fa920e63cbc6c28ff04326669442aeb089e /configure.ac
parent71419bfa71b435ee0374d491dcec81911c75394b (diff)
win32: fix command line encoding on windows platform
On Windows, the arguments we get in GApplication::ocal_command_line come from g_win32_get_command_line(), and g_option_context_parse_strv() documentation says: « On Windows, the strings are expected to be in UTF-8. This is in contrast to g_option_context_parse() which expects them to be in the system codepage, which is how they are passed as argv to main(). See g_win32_get_command_line() for a solution. » This was causing issues on Windows when running: remote-viewer -t "你好" spice://<target-host>:5900
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index e349e62..55aa2fa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -13,8 +13,8 @@ m4_ifndef([AM_SILENT_RULES], [m4_define([AM_SILENT_RULES],[])])
AM_SILENT_RULES([yes])
# Keep these two definitions in agreement.
-GLIB2_REQUIRED="2.38"
-GLIB2_ENCODED_VERSION="GLIB_VERSION_2_38"
+GLIB2_REQUIRED="2.40"
+GLIB2_ENCODED_VERSION="GLIB_VERSION_2_40"
# Keep these two definitions in agreement.
GTK_REQUIRED="3.18"