Re: [Vala] [PATCH] add missing XStringToKeysym() function to x11.vapi



On Wed, Mar 30, 2011 at 09:32:27PM +0200, Alexander Kurtz wrote:
Hi,

This patch adds a missing function to the X11 bindings of Vala 0.10.4:

--- x11.vapi.orig     2011-03-14 14:09:53.640728903 +0100
+++ x11.vapi  2011-03-14 14:14:03.956717821 +0100
@@ -135,6 +135,9 @@
              [CCode (cname = "XKeysymToKeycode")]
              public int keysym_to_keycode (uint keysym);
 
+             [CCode (cname = "XStringToKeysym")]
+             public static int string_to_keysym (string key);
+
              [CCode (cname = "XLastKnownRequestProcessed")]
              public ulong last_known_request_processed ();
 

I'd rather put that static function outside Display, what do you think?

-- 
http://www.debian.org - The Universal Operating System

Attachment: signature.asc
Description: Digital signature



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