[vala/0.48] gtk4: Don't skip LayoutManager.create_layout_child()
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.48] gtk4: Don't skip LayoutManager.create_layout_child()
- Date: Tue, 29 Sep 2020 07:30:07 +0000 (UTC)
commit c95b059803ef20f85ffb5bd6c9496e44ddf04e5d
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 cac006f11..cf64b45b3 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]