[vala/0.12] x11: Fix get_keyboard_mapping and keysym_to_keycode bindings
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.12] x11: Fix get_keyboard_mapping and keysym_to_keycode bindings
- Date: Sun, 29 May 2011 11:17:46 +0000 (UTC)
commit f17e5732afe6f5a6f5f86b1f06b6796200bf406c
Author: Alexander Kurtz <kurtz alex googlemail com>
Date: Mon Apr 4 20:22:20 2011 +0200
x11: Fix get_keyboard_mapping and keysym_to_keycode bindings
vapi/x11.vapi | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/vapi/x11.vapi b/vapi/x11.vapi
index af0b964..461e374 100644
--- a/vapi/x11.vapi
+++ b/vapi/x11.vapi
@@ -88,7 +88,7 @@ namespace X {
public void force_screensaver (int mode);
[CCode (cname = "XGetKeyboardMapping", array_length = false)]
- public unowned uint[] get_keyboard_mapping (uint first_keycode, int keycode_count, ref int keysyms_per_keycode_return);
+ public ulong[] get_keyboard_mapping (uchar first_keycode, int keycode_count, ref int keysyms_per_keycode_return);
[CCode (cname = "XGetModifierMapping")]
public ModifierKeymap get_modifier_mapping ();
@@ -133,7 +133,7 @@ namespace X {
public int keycodes (ref int min_keycodes_return, ref int max_keycodes_return);
[CCode (cname = "XKeysymToKeycode")]
- public int keysym_to_keycode (uint keysym);
+ public uchar keysym_to_keycode (ulong keysym);
[CCode (cname = "XLastKnownRequestProcessed")]
public ulong last_known_request_processed ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]