[vala/staging] gtk+-4.0: Update to 3.93.0+7eb37367



commit a2507383be5ba5e099ca66b7f9ecb288e66e02fc
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sat Mar 10 18:46:35 2018 +0100

    gtk+-4.0: Update to 3.93.0+7eb37367

 vapi/gtk+-4.0.vapi             |   14 +++++++-------
 vapi/metadata/Gdk-4.0.metadata |    3 +++
 2 files changed, 10 insertions(+), 7 deletions(-)
---
diff --git a/vapi/gtk+-4.0.vapi b/vapi/gtk+-4.0.vapi
index aed003e..6372d0f 100644
--- a/vapi/gtk+-4.0.vapi
+++ b/vapi/gtk+-4.0.vapi
@@ -4832,11 +4832,11 @@ namespace Gdk {
                public Cursor.from_name (string name, Gdk.Cursor? fallback);
                [CCode (has_construct_function = false)]
                public Cursor.from_texture (Gdk.Texture texture, int hotspot_x, int hotspot_y, Gdk.Cursor? 
fallback);
-               public unowned Gdk.Cursor get_fallback ();
+               public unowned Gdk.Cursor? get_fallback ();
                public int get_hotspot_x ();
                public int get_hotspot_y ();
-               public unowned string get_name ();
-               public unowned Gdk.Texture get_texture ();
+               public unowned string? get_name ();
+               public unowned Gdk.Texture? get_texture ();
                public Gdk.Cursor fallback { get; construct; }
                public int hotspot_x { get; construct; }
                public int hotspot_y { get; construct; }
@@ -5225,7 +5225,7 @@ namespace Gdk {
                public void download ([CCode (array_length = false)] uint8[] data, size_t stride);
                [CCode (cname = "gdk_texture_new_for_data")]
                public static Gdk.Texture for_data ([CCode (array_length = false)] uint8[] data, int width, 
int height, int stride);
-               [CCode (cname = "gdk_texture_new_for_gl")]
+               [CCode (cname = "gdk_gl_texture_new")]
                public static Gdk.Texture for_gl (Gdk.GLContext context, uint id, int width, int height, 
GLib.DestroyNotify destroy, void* data);
                [CCode (cname = "gdk_texture_new_for_pixbuf")]
                public static Gdk.Texture for_pixbuf (Gdk.Pixbuf pixbuf);
@@ -5235,6 +5235,7 @@ namespace Gdk {
                public static Gdk.Texture from_resource (string resource_path);
                public int get_height ();
                public int get_width ();
+               [CCode (cname = "gdk_gl_texture_release")]
                public void release_gl ();
                public int height { get; construct; }
                public int width { get; construct; }
@@ -7812,14 +7813,12 @@ namespace Gtk {
                public Expander (string? label);
                public bool get_expanded ();
                public unowned string? get_label ();
-               public bool get_label_fill ();
                public unowned Gtk.Widget? get_label_widget ();
                public bool get_resize_toplevel ();
                public bool get_use_markup ();
                public bool get_use_underline ();
                public void set_expanded (bool expanded);
                public void set_label (string? label);
-               public void set_label_fill (bool label_fill);
                public void set_label_widget (Gtk.Widget? label_widget);
                public void set_resize_toplevel (bool resize_toplevel);
                public void set_use_markup (bool use_markup);
@@ -7828,7 +7827,6 @@ namespace Gtk {
                public Expander.with_mnemonic (string? label);
                public bool expanded { get; set construct; }
                public string label { get; set construct; }
-               public bool label_fill { get; set construct; }
                public Gtk.Widget label_widget { get; set; }
                public bool resize_toplevel { get; set; }
                public bool use_markup { get; set construct; }
@@ -9166,8 +9164,10 @@ namespace Gtk {
                [CCode (has_construct_function = false, type = "GtkWidget*")]
                public Overlay ();
                public void add_overlay (Gtk.Widget widget);
+               public bool get_measure_overlay (Gtk.Widget widget);
                public bool get_overlay_pass_through (Gtk.Widget widget);
                public void reorder_overlay (Gtk.Widget child, int position);
+               public void set_measure_overlay (Gtk.Widget widget, bool measure);
                public void set_overlay_pass_through (Gtk.Widget widget, bool pass_through);
                public virtual signal bool get_child_position (Gtk.Widget widget, out Gdk.Rectangle 
allocation);
        }
diff --git a/vapi/metadata/Gdk-4.0.metadata b/vapi/metadata/Gdk-4.0.metadata
index e552a3b..a46b2d3 100644
--- a/vapi/metadata/Gdk-4.0.metadata
+++ b/vapi/metadata/Gdk-4.0.metadata
@@ -14,6 +14,9 @@ Event
         ._get_angle skip
         ._get_center skip
         ._get_distance skip
+gl_* skip=false
+gl_texture_new parent="Gdk.Texture" name="for_gl" unowned=false
+gl_texture_release parent="Gdk.Texture" symbol_type="method" instance_idx=0 name="release_gl"
 Window abstract=false
         .create_similar_image_surface type="Cairo.ImageSurface"
         .moved_to_rect.*_rect type="Gdk.Rectangle"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]