diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2022-02-04 08:01:10 +0100 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2022-02-04 08:01:10 +0100 |
commit | 7f95f0fb3f7c207d9c8dfa157e8a4c19d92a4c4b (patch) | |
tree | 22a5ee6737a4876e009d538845d1591a93115711 | |
parent | acbd96f689652e8da09d34f4eabec02a26816f86 (diff) | |
download | vala-7f95f0fb3f7c207d9c8dfa157e8a4c19d92a4c4b.tar.gz |
gtk4: Update to 4.6.0+06ec4ec1
-rw-r--r-- | vapi/gtk4.vapi | 18 | ||||
-rw-r--r-- | vapi/metadata/Gtk-4.0-custom.vala | 10 |
2 files changed, 5 insertions, 23 deletions
diff --git a/vapi/gtk4.vapi b/vapi/gtk4.vapi index c322576d4..a388943bb 100644 --- a/vapi/gtk4.vapi +++ b/vapi/gtk4.vapi @@ -5744,6 +5744,7 @@ namespace Gdk { PAD_RING, PAD_STRIP, PAD_GROUP_MODE, + TOUCHPAD_HOLD, EVENT_LAST } [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_FRAME_CLOCK_PHASE_", type_id = "gdk_frame_clock_phase_get_type ()")] @@ -10901,9 +10902,9 @@ namespace Gtk { public void append_repeating_radial_gradient (Graphene.Rect bounds, Graphene.Point center, float hradius, float vradius, float start, float end, [CCode (array_length_cname = "n_stops", array_length_pos = 7.1, array_length_type = "gsize")] Gsk.ColorStop[] stops); public void append_texture (Gdk.Texture texture, Graphene.Rect bounds); [DestroysInstance] - public Gsk.RenderNode free_to_node (); + public Gsk.RenderNode? free_to_node (); [DestroysInstance] - public Gdk.Paintable free_to_paintable (Graphene.Size? size); + public Gdk.Paintable? free_to_paintable (Graphene.Size? size); public void gl_shader_pop_texture (); public void perspective (float depth); public void pop (); @@ -10929,8 +10930,8 @@ namespace Gtk { public void save (); public void scale (float factor_x, float factor_y); public void scale_3d (float factor_x, float factor_y, float factor_z); - public Gsk.RenderNode to_node (); - public Gdk.Paintable to_paintable (Graphene.Size? size); + public Gsk.RenderNode? to_node (); + public Gdk.Paintable? to_paintable (Graphene.Size? size); public void transform (Gsk.Transform? transform); public void transform_matrix (Graphene.Matrix matrix); public void translate (Graphene.Point point); @@ -13015,15 +13016,6 @@ namespace Gtk { [CCode (cheader_filename = "gtk/gtk.h", type_id = "gdk_rectangle_get_type ()")] public struct Allocation : Gdk.Rectangle { } - [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)] - public struct BindingArg { - [CCode (cname = "d.long_data")] - public long long_data; - [CCode (cname = "d.double_data")] - public double double_data; - [CCode (cname = "d.string_data")] - public weak string string_data; - } [CCode (cheader_filename = "gtk/gtk.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gtk_bitset_iter_get_type ()")] public struct BitsetIter { public uint get_value (); diff --git a/vapi/metadata/Gtk-4.0-custom.vala b/vapi/metadata/Gtk-4.0-custom.vala index c3f98568b..6d2070ecd 100644 --- a/vapi/metadata/Gtk-4.0-custom.vala +++ b/vapi/metadata/Gtk-4.0-custom.vala @@ -9,16 +9,6 @@ namespace Gtk { public virtual signal void rows_reordered (Gtk.TreePath path, Gtk.TreeIter iter, [CCode (array_length = false)] int[] new_order); } - [CCode (has_type_id = false)] - public struct BindingArg { - [CCode (cname = "d.long_data")] - public long long_data; - [CCode (cname = "d.double_data")] - public double double_data; - [CCode (cname = "d.string_data")] - public weak string string_data; - } - [CCode (has_typedef = false)] public delegate void BuildableParserStartElementFunc (BuildableParseContext context, string element_name, [CCode (array_length = false, array_null_terminated = true)] string[] attribute_names, [CCode (array_length = false, array_null_terminated = true)] string[] attribute_values) throws GLib.Error; [CCode (has_typedef = false)] |