From 656217dfca0621baf6da1e443232de26efddd5fa Mon Sep 17 00:00:00 2001 From: Rico Tzschichholz Date: Sat, 7 Jan 2017 18:41:37 +0100 Subject: [PATCH] gtk+-4.0: Update to 3.89.2+1e6fce97 --- vapi/gtk+-4.0.vapi | 10 +++++----- vapi/metadata/Gtk-4.0.metadata | 3 --- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/vapi/gtk+-4.0.vapi b/vapi/gtk+-4.0.vapi index 764705d03..66720511f 100644 --- a/vapi/gtk+-4.0.vapi +++ b/vapi/gtk+-4.0.vapi @@ -8728,7 +8728,6 @@ namespace Gtk { public void set_focus_chain (GLib.List focusable_widgets); public void set_focus_hadjustment (Gtk.Adjustment adjustment); public void set_focus_vadjustment (Gtk.Adjustment adjustment); - public void snapshot_child (Gtk.Widget child, Gtk.Snapshot snapshot); public void unset_focus_chain (); [HasEmitter] public virtual signal void add (Gtk.Widget widget); @@ -14452,7 +14451,7 @@ namespace Gtk { [Version (since = "3.8")] public double get_opacity (); public unowned Pango.Context get_pango_context (); - public unowned Gtk.Container? get_parent (); + public unowned Gtk.Widget? get_parent (); public unowned Gdk.Window get_parent_window (); public unowned Gtk.WidgetPath get_path (); [Version (since = "3.0")] @@ -14590,6 +14589,7 @@ namespace Gtk { public void set_device_events (Gdk.Device device, Gdk.EventMask events); public void set_direction (Gtk.TextDirection dir); public void set_events (int events); + public void set_focus_child (Gtk.Widget child); [Version (since = "3.20")] public void set_focus_on_click (bool focus_on_click); [Version (since = "3.18")] @@ -14615,7 +14615,7 @@ namespace Gtk { public void set_no_show_all (bool no_show_all); [Version (since = "3.8")] public void set_opacity (double opacity); - public void set_parent ([CCode (type = "GtkWidget*")] Gtk.Container parent); + public void set_parent (Gtk.Widget parent); public void set_parent_window (Gdk.Window parent_window); [Version (since = "2.20")] public void set_realized (bool realized); @@ -14655,8 +14655,8 @@ namespace Gtk { public void size_allocate_with_baseline (Gtk.Allocation allocation, int baseline); [NoWrapper] public virtual void snapshot (Gtk.Snapshot snapshot); + public void snapshot_child (Gtk.Widget child, Gtk.Snapshot snapshot); public void style_get (...); - public void style_get_property (string property_name, ref GLib.Value value); public void style_get_valist (string first_property_name, [CCode (type = "va_list")] va_list var_args); public void thaw_child_notify (); public bool translate_coordinates (Gtk.Widget dest_widget, int src_x, int src_y, out int dest_x, out int dest_y); @@ -14706,7 +14706,7 @@ namespace Gtk { public bool no_show_all { get; set; } [Version (since = "3.8")] public double opacity { get; set; } - public Gtk.Container parent { get; set; } + public Gtk.Widget parent { get; set; } public bool receives_default { get; set; } [Version (since = "3.10")] public int scale_factor { get; } diff --git a/vapi/metadata/Gtk-4.0.metadata b/vapi/metadata/Gtk-4.0.metadata index f43ea6fa2..6412fc7bd 100644 --- a/vapi/metadata/Gtk-4.0.metadata +++ b/vapi/metadata/Gtk-4.0.metadata @@ -358,11 +358,8 @@ Widget .drag_*#method parent="Gtk" symbol_type="function" .get_allocation return_void .get_clip return_void - .get_parent type="unowned Gtk.Container?" .grab_add parent="Gtk" symbol_type="function" .grab_remove parent="Gtk" symbol_type="function" - .set_parent.parent type="Gtk.Container" - .style_get_property.value ref .touch_event.event type="Gdk.EventTouch" TreeModel .get_value return_void -- 2.47.3