[gtk+] wayland: Port to libxkbcommon API changes



commit 77791f07084cc29e3ddf210fca294b16514c4a79
Author: Rob Bradford <rob linux intel com>
Date:   Wed Jul 11 14:43:50 2012 +0100

    wayland: Port to libxkbcommon API changes
    
    xkb_string_to_keysym -> xkb_keysym_from_name
    xkb_keysym_get_name -> xkb_keysym_get_name

 gdk/wayland/gdkdisplaymanager-wayland.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdk/wayland/gdkdisplaymanager-wayland.c b/gdk/wayland/gdkdisplaymanager-wayland.c
index dcabe1c..1a327b3 100644
--- a/gdk/wayland/gdkdisplaymanager-wayland.c
+++ b/gdk/wayland/gdkdisplaymanager-wayland.c
@@ -136,7 +136,7 @@ gdk_wayland_display_manager_lookup_keyval (GdkDisplayManager *manager,
 {
   g_return_val_if_fail (keyval_name != NULL, 0);
 
-  return xkb_string_to_keysym(keyval_name);
+  return xkb_keysym_from_name(keyval_name);
 }
 
 static gchar *
@@ -157,7 +157,7 @@ gdk_wayland_display_manager_get_keyval_name (GdkDisplayManager *manager,
       return "KP_Page_Down";
     }
 
-  xkb_keysym_to_string(keyval, buf, sizeof buf);
+  xkb_keysym_get_name(keyval, buf, sizeof (buf));
 
   return buf;
 }



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