[vala] gdk-3.0: Add GDK_NONE binding
- From: Luca Bruno <lucabru src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gdk-3.0: Add GDK_NONE binding
- Date: Fri, 22 Jul 2011 07:20:53 +0000 (UTC)
commit 7e83479f16530601bdf9121cec31e3108dfaa17e
Author: Luca Bruno <lucabru src gnome org>
Date: Fri Jul 22 09:20:31 2011 +0200
gdk-3.0: Add GDK_NONE binding
Fixes bug 655094.
vapi/gdk-3.0.vapi | 4 +++-
vapi/packages/gdk-3.0/gdk-3.0-custom.vala | 7 +++++++
2 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/vapi/gdk-3.0.vapi b/vapi/gdk-3.0.vapi
index 4fbd8a7..9455e4a 100644
--- a/vapi/gdk-3.0.vapi
+++ b/vapi/gdk-3.0.vapi
@@ -15,7 +15,7 @@ namespace Gdk {
[CCode (cheader_filename = "gdk/gdk.h")]
public static bool owner_set_for_display (Gdk.Display display, Gdk.Window owner, Gdk.Atom selection, uint32 time_, bool send_event);
[CCode (cheader_filename = "gdk/gdk.h")]
- public static int property_get (Gdk.Window requestor, uchar[] data, Gdk.Atom prop_type, int prop_format);
+ public static int property_get (Gdk.Window requestor, uchar[] data, out Gdk.Atom prop_type, int prop_format);
[CCode (cheader_filename = "gdk/gdk.h")]
public static void send_notify (Gdk.Window requestor, Gdk.Atom selection, Gdk.Atom target, Gdk.Atom property, uint32 time_);
[CCode (cheader_filename = "gdk/gdk.h")]
@@ -454,6 +454,8 @@ namespace Gdk {
[CCode (cheader_filename = "gdk/gdk.h")]
[SimpleType]
public struct Atom {
+ [CCode (cname = "GDK_NONE")]
+ public static Gdk.Atom NONE;
public static Gdk.Atom intern (string atom_name, bool only_if_exists);
public static Gdk.Atom intern_static_string (string atom_name);
public string name ();
diff --git a/vapi/packages/gdk-3.0/gdk-3.0-custom.vala b/vapi/packages/gdk-3.0/gdk-3.0-custom.vala
index 9a6fad2..877e1a1 100644
--- a/vapi/packages/gdk-3.0/gdk-3.0-custom.vala
+++ b/vapi/packages/gdk-3.0/gdk-3.0-custom.vala
@@ -25,6 +25,13 @@ namespace Gdk {
public const Atom SELECTION_SECONDARY;
public const Atom SELECTION_CLIPBOARD;
+ [CCode (cheader_filename = "gdk/gdk.h")]
+ [SimpleType]
+ public struct Atom {
+ [CCode (cname="GDK_NONE")]
+ public static Atom NONE;
+ }
+
[CCode (ref_function = "g_object_ref", unref_function = "g_object_unref")]
public class Bitmap {
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]