From: Rico Tzschichholz Date: Thu, 9 Aug 2018 11:20:07 +0000 (+0200) Subject: gdk-3.0: Atom is an IntegerType X-Git-Tag: 0.41.91~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10f72d4fa6dbfcadf0ac97ce96ed3443077e584f;p=thirdparty%2Fvala.git gdk-3.0: Atom is an IntegerType --- diff --git a/vapi/gdk-3.0.vapi b/vapi/gdk-3.0.vapi index 4655d3aa2..df25e159f 100644 --- a/vapi/gdk-3.0.vapi +++ b/vapi/gdk-3.0.vapi @@ -4670,7 +4670,7 @@ namespace Gdk { [Version (deprecated = true, deprecated_since = "3.20.", since = "3.0")] public Gdk.GrabStatus grab (Gdk.Window window, Gdk.GrabOwnership grab_ownership, bool owner_events, Gdk.EventMask event_mask, Gdk.Cursor? cursor, uint32 time_); [Version (since = "3.0")] - public GLib.List list_axes (); + public GLib.List list_axes (); public GLib.List? list_slave_devices (); public void set_axis_use (uint index_, Gdk.AxisUse use); public void set_key (uint index_, uint keyval, Gdk.ModifierType modifiers); @@ -4898,7 +4898,7 @@ namespace Gdk { [Version (since = "2.22")] public Gdk.DragAction get_suggested_action (); [Version (since = "2.22")] - public unowned GLib.List list_targets (); + public unowned GLib.List list_targets (); [Version (since = "3.20")] public bool manage_dnd (Gdk.Window ipc_window, Gdk.DragAction actions); public void set_device (Gdk.Device device); @@ -5921,7 +5921,7 @@ namespace Gdk { public int get_n_groups (); } [CCode (cheader_filename = "gdk/gdk.h", has_type_id = false)] - [SimpleType] + [IntegerType] public struct Atom : uint { [CCode (cname = "GDK_NONE")] public static Gdk.Atom NONE; @@ -6699,12 +6699,12 @@ namespace Gdk { [CCode (cheader_filename = "gdk/gdk.h")] public static void drag_abort (Gdk.DragContext context, uint32 time_); [CCode (cheader_filename = "gdk/gdk.h")] - public static Gdk.DragContext drag_begin (Gdk.Window window, GLib.List targets); + public static Gdk.DragContext drag_begin (Gdk.Window window, GLib.List targets); [CCode (cheader_filename = "gdk/gdk.h")] - public static Gdk.DragContext drag_begin_for_device (Gdk.Window window, Gdk.Device device, GLib.List targets); + public static Gdk.DragContext drag_begin_for_device (Gdk.Window window, Gdk.Device device, GLib.List targets); [CCode (cheader_filename = "gdk/gdk.h")] [Version (since = "3.20")] - public static Gdk.DragContext drag_begin_from_point (Gdk.Window window, Gdk.Device device, GLib.List targets, int x_root, int y_root); + public static Gdk.DragContext drag_begin_from_point (Gdk.Window window, Gdk.Device device, GLib.List targets, int x_root, int y_root); [CCode (cheader_filename = "gdk/gdk.h")] public static void drag_drop (Gdk.DragContext context, uint32 time_); [CCode (cheader_filename = "gdk/gdk.h")] diff --git a/vapi/metadata/Gdk-3.0-custom.vala b/vapi/metadata/Gdk-3.0-custom.vala index 7754e5468..247c820dd 100644 --- a/vapi/metadata/Gdk-3.0-custom.vala +++ b/vapi/metadata/Gdk-3.0-custom.vala @@ -1,5 +1,5 @@ namespace Gdk { - [SimpleType] + [IntegerType] public struct Atom : uint { [CCode (cname = "GDK_NONE")] public static Gdk.Atom NONE;