[vala/staging: 2/2] gtk4: Don't skip LayoutManager.create_layout_child()




commit 34dae68a0f57788988d41269d74fead8d1b5bbd8
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sat Sep 12 09:50:32 2020 +0200

    gtk4: Don't skip LayoutManager.create_layout_child()
    
    It is marked as not introspectable for some reason.
    
    Fixes https://gitlab.gnome.org/GNOME/vala/issues/1071

 vapi/gtk4.vapi                 | 2 ++
 vapi/metadata/Gtk-4.0.metadata | 2 ++
 2 files changed, 4 insertions(+)
---
diff --git a/vapi/gtk4.vapi b/vapi/gtk4.vapi
index 1d6eb4a3d..5ac58d632 100644
--- a/vapi/gtk4.vapi
+++ b/vapi/gtk4.vapi
@@ -8911,6 +8911,8 @@ namespace Gtk {
                [CCode (has_construct_function = false)]
                protected LayoutManager ();
                public virtual void allocate (Gtk.Widget widget, int width, int height, int baseline);
+               [NoWrapper]
+               public virtual unowned Gtk.LayoutChild create_layout_child (Gtk.Widget widget, Gtk.Widget 
for_child);
                public unowned Gtk.LayoutChild get_layout_child (Gtk.Widget child);
                [NoWrapper]
                public virtual Gtk.SizeRequestMode get_request_mode (Gtk.Widget widget);
diff --git a/vapi/metadata/Gtk-4.0.metadata b/vapi/metadata/Gtk-4.0.metadata
index efc1faa7d..a78948b85 100644
--- a/vapi/metadata/Gtk-4.0.metadata
+++ b/vapi/metadata/Gtk-4.0.metadata
@@ -204,6 +204,8 @@ FlowBoxCreateWidgetFunc skip=false
   .item type="GLib.Object"
 IMContextSimple
   .add_table skip=false
+LayoutManager
+  .create_layout_child skip=false
 TreeSelection
   .get_select_function skip=false
   .get_user_data skip=false


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