summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Nemerson <evan@coeus-group.com>2012-06-16 15:26:57 -0700
committerJürg Billeter <j@bitron.ch>2012-06-23 17:35:05 +0200
commitf5996bd5a7b7b6c586554390dc1e2a3cf3998063 (patch)
treebbcb171da3b59b06edbb5ea359b74aaf07cab319
parentdb3663bcfd1e1b30329278058e98209599e2118c (diff)
downloadvala-f5996bd5a7b7b6c586554390dc1e2a3cf3998063.tar.gz
gdk-3.0: Gdk.EventKey does not have a GType
Fixes bug 678217.
-rw-r--r--vapi/gdk-3.0.vapi2
-rw-r--r--vapi/metadata/Gdk-3.0-custom.vala1
2 files changed, 2 insertions, 1 deletions
diff --git a/vapi/gdk-3.0.vapi b/vapi/gdk-3.0.vapi
index 66066c592..30ab8989f 100644
--- a/vapi/gdk-3.0.vapi
+++ b/vapi/gdk-3.0.vapi
@@ -5136,7 +5136,7 @@ namespace Gdk {
public bool implicit;
public weak Gdk.Window grab_window;
}
- [CCode (cheader_filename = "gdk/gdk.h")]
+ [CCode (cheader_filename = "gdk/gdk.h", has_type_id = false)]
public struct EventKey {
[CCode (cname = "string")]
public weak string str;
diff --git a/vapi/metadata/Gdk-3.0-custom.vala b/vapi/metadata/Gdk-3.0-custom.vala
index 769e3e8e0..227a08c25 100644
--- a/vapi/metadata/Gdk-3.0-custom.vala
+++ b/vapi/metadata/Gdk-3.0-custom.vala
@@ -13,6 +13,7 @@ namespace Gdk {
public static Gdk.Atom NONE;
}
+ [CCode (cheader_filename = "gdk/gdk.h", has_type_id = false)]
public struct EventKey {
[CCode (cname = "string")]
public weak string str;