diff options
author | Daiki Ueno <ueno@unixuser.org> | 2012-10-06 19:42:06 +0900 |
---|---|---|
committer | Eitan Isaacson <eitan@monotonous.org> | 2012-10-08 11:55:36 -0700 |
commit | 0a643fd9e6e87d5e74da7cc00bb0c63ee79d1330 (patch) | |
tree | d7191a584fe243bac0059d8a5cb572755ff9c7b4 /libcaribou/external-libs.vapi | |
parent | cba1a72412c8223aed94732e75289e5a57dd2e96 (diff) | |
download | caribou-0a643fd9e6e87d5e74da7cc00bb0c63ee79d1330.tar.gz |
libcaribou: simplify using xtst.vapi provided by vala
XTest.send_fake_key event and X.keysym_to_keycode are now
available in vapi files in vala distribution. Also fix some
compiler warnings.
https://bugzilla.gnome.org/show_bug.cgi?id=685607
Diffstat (limited to 'libcaribou/external-libs.vapi')
-rw-r--r-- | libcaribou/external-libs.vapi | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/libcaribou/external-libs.vapi b/libcaribou/external-libs.vapi index 4a41020..e2c73db 100644 --- a/libcaribou/external-libs.vapi +++ b/libcaribou/external-libs.vapi @@ -1,20 +1,5 @@ using X; -[CCode (cprefix = "", lower_case_cprefix = "", - cheader_filename = "X11/extensions/XTest.h")] -namespace XTest { - [CCode (cname = "XTestFakeKeyEvent")] - public int fake_key_event (Display dpy, uchar keycode, bool key_press, - ulong delay); -} - -[CCode (cprefix = "", lower_case_cprefix = "", cheader_filename = "X11/Xlib.h")] -namespace X { - [CCode (cname = "XKeycodeToKeysym")] - public int keycode_to_keysym (Display dpy, uchar keycode, int index); - -} - [CCode (cprefix = "", lower_case_cprefix = "", cheader_filename = "X11/XKBlib.h")] namespace Xkb { |