[gtk] win32: Fix the build



commit 4f79676b0bc80c9e285a3606917900ee1b2d122d
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Feb 9 22:58:53 2020 -0500

    win32: Fix the build

 gdk/win32/gdkkeys-win32.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gdk/win32/gdkkeys-win32.c b/gdk/win32/gdkkeys-win32.c
index 679caa5540..9350c121f5 100644
--- a/gdk/win32/gdkkeys-win32.c
+++ b/gdk/win32/gdkkeys-win32.c
@@ -242,7 +242,7 @@ print_keysym_tab (GdkWin32Keymap *keymap)
 
           for (level = 0; level < GDK_WIN32_LEVEL_COUNT; level++)
             {
-              gchar *name = gdk_keyval_name (keymap->keysym_tab[vk * group_size * GDK_WIN32_LEVEL_COUNT + 
level]);
+              const char *name = gdk_keyval_name (keymap->keysym_tab[vk * group_size * GDK_WIN32_LEVEL_COUNT 
+ level]);
 
               g_print ("%s ", name ? name : "(none)");
             }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]