From: Rico Tzschichholz Date: Wed, 16 Dec 2020 19:11:22 +0000 (+0100) Subject: gtk4: Update to 4.0 X-Git-Tag: 0.51.1~136 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f11fbadb3d61af59dcbef243b596b6cd4035d868;p=thirdparty%2Fvala.git gtk4: Update to 4.0 --- diff --git a/vapi/gtk4.vapi b/vapi/gtk4.vapi index 76a34c1ab..49640c14b 100644 --- a/vapi/gtk4.vapi +++ b/vapi/gtk4.vapi @@ -4649,10 +4649,8 @@ namespace Gdk { public class DeviceXI2 : Gdk.Device { [CCode (has_construct_function = false)] protected DeviceXI2 (); - public Gdk.X11.DeviceType get_device_type (); [CCode (cheader_filename = "gdk/x11/gdkx.h", cname = "gdk_x11_device_get_id")] public int get_id (); - public void set_device_type (Gdk.X11.DeviceType type); [NoAccessorMethod] public int device_id { get; construct; } } @@ -5415,9 +5413,9 @@ namespace Gdk { public ToplevelLayout (); public Gdk.ToplevelLayout copy (); public bool equal (Gdk.ToplevelLayout other); - public bool get_fullscreen (); + public bool get_fullscreen (out bool fullscreen); public unowned Gdk.Monitor? get_fullscreen_monitor (); - public bool get_maximized (); + public bool get_maximized (out bool maximized); public bool get_resizable (); public unowned Gdk.ToplevelLayout @ref (); public void set_fullscreen (bool fullscreen, Gdk.Monitor? monitor); @@ -7072,7 +7070,7 @@ namespace Gtk { public bool is_activatable (); public void set_alignment (float xalign, float yalign); public void set_fixed_size (int width, int height); - public void set_is_expanded (bool is_expander); + public void set_is_expanded (bool is_expanded); public void set_is_expander (bool is_expander); public void set_padding (int xpad, int ypad); public void set_sensitive (bool sensitive); @@ -7644,10 +7642,6 @@ namespace Gtk { [CCode (has_construct_function = false)] protected ConstraintLayoutChild (); } - [CCode (cheader_filename = "gtk/gtk.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gtk_crossing_data_get_type ()")] - [Compact] - public class CrossingData { - } [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_css_provider_get_type ()")] public class CssProvider : GLib.Object, Gtk.StyleProvider { [CCode (has_construct_function = false)] @@ -8566,10 +8560,10 @@ namespace Gtk { 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 (); - public signal void down (double object, double p0); - public signal void motion (double object, double p0); - public signal void proximity (double object, double p0); - public signal void up (double object, double p0); + public signal void down (double x, double y); + public signal void motion (double x, double y); + public signal void proximity (double x, double y); + public signal void up (double x, double y); } [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gesture_swipe_get_type ()")] public class GestureSwipe : Gtk.GestureSingle {