[vala] x11: Fix get_keyboard_mapping and keysym_to_keycode bindings
- From: Luca Bruno <lucabru src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] x11: Fix get_keyboard_mapping and keysym_to_keycode bindings
- Date: Mon, 4 Apr 2011 18:23:41 +0000 (UTC)
commit 079ed99d7efb399d098b6f15e920cd9cd426fa9a
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]