]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
vapi: Update GIR-based bindings
authorRico Tzschichholz <ricotz@ubuntu.com>
Tue, 28 Aug 2018 20:53:00 +0000 (22:53 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Tue, 28 Aug 2018 20:53:00 +0000 (22:53 +0200)
vapi/gtk+-3.0.vapi
vapi/gtk+-4.0.vapi
vapi/pango.vapi

index 774d9274dd3adf4b63195372ee81f26a0d6d2650..aebf5eb18beaa67d6c36dff6a56a283b3f07c759 100644 (file)
@@ -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")]
index 71e84f18f83a0f65cd1767d11ab1c2d50bff14aa..f7ec4e2c33a885d7e1739ba6a69798ceb08abda2 100644 (file)
@@ -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 ();
index 6589df75c9bea6a0aec88b38cb27ef461d490ce8..035ed1b34a6a59d723e5b0b508b15e749075e72f 100644 (file)
@@ -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 ();