[vala/0.12] x11: Add missing XMapRaised function, ErrorCode and WindowClass enums
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.12] x11: Add missing XMapRaised function, ErrorCode and WindowClass enums
- Date: Sun, 29 May 2011 11:18:37 +0000 (UTC)
commit ef50a3e6c3dde344b4a1921acec65d13f4396890
Author: Joshua Simmons <simmons 44 gmail com>
Date: Thu Apr 7 21:57:23 2011 +0200
x11: Add missing XMapRaised function, ErrorCode and WindowClass enums
Partially fixes bug 625662.
vapi/x11.vapi | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 55 insertions(+), 0 deletions(-)
---
diff --git a/vapi/x11.vapi b/vapi/x11.vapi
index 950c045..a881143 100644
--- a/vapi/x11.vapi
+++ b/vapi/x11.vapi
@@ -147,6 +147,9 @@ namespace X {
[CCode (cname = "XMapWindow")]
public int map_window (Window w);
+ [CCode (cname = "XMapRaised")]
+ public int map_raised (Window w);
+
[CCode (cname = "XMaxRequestSize")]
public long max_request_size ();
@@ -409,6 +412,58 @@ namespace X {
[CCode (cname = "XFree")]
public int free (void* data);
+ [CCode (cprefix = "", cname = "int")]
+ public enum ErrorCode {
+ [CCode (cname = "Success")]
+ SUCCESS,
+ [CCode (cname = "BadRequest")]
+ BAD_REQUEST,
+ [CCode (cname = "BadValue")]
+ BAD_VALUE,
+ [CCode (cname = "BadWindow")]
+ BAD_WINDOW,
+ [CCode (cname = "BadPixmap")]
+ BAD_PIXMAP,
+ [CCode (cname = "BadAtom")]
+ BAD_ATOM,
+ [CCode (cname = "BadCursor")]
+ BAD_CURSOR,
+ [CCode (cname = "BadFont")]
+ BAD_FONT,
+ [CCode (cname = "BadMatch")]
+ BAD_MATCH,
+ [CCode (cname = "BadDrawable")]
+ BAD_DRAWABLE,
+ [CCode (cname = "BadAccess")]
+ BAD_ACCESS,
+ [CCode (cname = "BadAlloc")]
+ BAD_ALLOC,
+ [CCode (cname = "BadColor")]
+ BAD_COLOR,
+ [CCode (cname = "BadGC")]
+ BAD_GC,
+ [CCode (cname = "BadIDChoice")]
+ BAD_ID_CHOICE,
+ [CCode (cname = "BadName")]
+ BAD_NAME,
+ [CCode (cname = "BadLength")]
+ BAD_LENGTH,
+ [CCode (cname = "BadImplementation")]
+ BAD_IMPLEMENTATION,
+ [CCode (cname = "FirstExtensionError")]
+ FIRST_EXTENSION_ERROR,
+ [CCode (cname = "LastExtensionError")]
+ LAST_EXTENSION_ERROR
+ }
+
+ [CCode (cprefix = "", cname = "int")]
+ public enum WindowClass {
+ [CCode (cname = "InputOutput")]
+ INPUT_OUTPUT,
+ [CCode (cname = "InputOnly")]
+ INPUT_ONLY
+ }
+
[CCode (cprefix = "CW", cname = "int")]
public enum CW {
BackPixmap,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]