From: Rico Tzschichholz Date: Tue, 28 Aug 2018 20:53:00 +0000 (+0200) Subject: vapi: Update GIR-based bindings X-Git-Tag: 0.42.0~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49b7205ae53a0f1ea66d66eb2168754b6184a4cd;p=thirdparty%2Fvala.git vapi: Update GIR-based bindings --- diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi index 774d9274d..aebf5eb18 100644 --- a/vapi/gtk+-3.0.vapi +++ b/vapi/gtk+-3.0.vapi @@ -3585,7 +3585,7 @@ namespace Gtk { [Version (since = "3.24")] public GestureStylus (Gtk.Widget widget); [Version (since = "3.24")] - public bool get_axes (Gdk.AxisUse axes, out double values); + public bool get_axes ([CCode (array_length = false)] Gdk.AxisUse[] axes, [CCode (array_length = false)] out double[] values); [Version (since = "3.24")] public bool get_axis (Gdk.AxisUse axis, out double value); [Version (since = "3.24")] diff --git a/vapi/gtk+-4.0.vapi b/vapi/gtk+-4.0.vapi index 71e84f18f..f7ec4e2c3 100644 --- a/vapi/gtk+-4.0.vapi +++ b/vapi/gtk+-4.0.vapi @@ -5845,8 +5845,7 @@ namespace Gdk { public enum SurfaceType { TOPLEVEL, CHILD, - TEMP, - SUBSURFACE + TEMP } [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_SURFACE_TYPE_HINT_", type_id = "gdk_surface_type_hint_get_type ()")] public enum SurfaceTypeHint { @@ -8203,7 +8202,7 @@ namespace Gtk { public class GestureStylus : Gtk.GestureSingle { [CCode (has_construct_function = false, type = "GtkGesture*")] public GestureStylus (); - public bool get_axes (Gdk.AxisUse axes, out double values); + public bool get_axes ([CCode (array_length = false)] Gdk.AxisUse[] axes, [CCode (array_length = false)] out double[] values); public bool get_axis (Gdk.AxisUse axis, out double value); public bool get_backlog ([CCode (array_length_cname = "n_elems", array_length_pos = 1.1, array_length_type = "guint")] out Gdk.TimeCoord[] backlog); public unowned Gdk.DeviceTool? get_device_tool (); diff --git a/vapi/pango.vapi b/vapi/pango.vapi index 6589df75c..035ed1b34 100644 --- a/vapi/pango.vapi +++ b/vapi/pango.vapi @@ -491,7 +491,7 @@ namespace Pango { [Version (since = "1.20")] public unowned Pango.Layout get_layout (); public void get_layout_extents (out Pango.Rectangle ink_rect, out Pango.Rectangle logical_rect); - public Pango.LayoutLine get_line (); + public unowned Pango.LayoutLine get_line (); public void get_line_extents (out Pango.Rectangle ink_rect, out Pango.Rectangle logical_rect); [Version (since = "1.16")] public unowned Pango.LayoutLine get_line_readonly ();