]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk4: Don't skip LayoutManager.create_layout_child()
authorRico Tzschichholz <ricotz@ubuntu.com>
Sat, 12 Sep 2020 07:50:32 +0000 (09:50 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sat, 12 Sep 2020 07:50:32 +0000 (09:50 +0200)
It is marked as not introspectable for some reason.

Fixes https://gitlab.gnome.org/GNOME/vala/issues/1071

vapi/gtk4.vapi
vapi/metadata/Gtk-4.0.metadata

index 1d6eb4a3dfc46a19c03f5b199e6eb035ebc93bb8..5ac58d632c0e0a17375b0fecaa3e27f3736ba867 100644 (file)
@@ -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);
index efc1faa7d25816afa7d4ad52b5805ef4d6235169..a78948b852e6036aa19c3184b7f082257aa94fa9 100644 (file)
@@ -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