[vala/0.48] gtk4: Update to 3.99.4+0d82faa2



commit 83f6275d949c4168bd76b5717cc1303bee26352f
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Fri Nov 6 21:11:07 2020 +0100

    gtk4: Update to 3.99.4+0d82faa2

 vapi/gtk4.vapi                 | 12 ++++++------
 vapi/metadata/Gtk-4.0.metadata |  4 ++++
 2 files changed, 10 insertions(+), 6 deletions(-)
---
diff --git a/vapi/gtk4.vapi b/vapi/gtk4.vapi
index 0b985e7e6..120429eb7 100644
--- a/vapi/gtk4.vapi
+++ b/vapi/gtk4.vapi
@@ -5544,11 +5544,6 @@ namespace Gdk {
                public int group;
                public int level;
        }
-       [CCode (cheader_filename = "gdk/gdk.h", has_type_id = false)]
-       public struct Point {
-               public int x;
-               public int y;
-       }
        [CCode (cheader_filename = "gdk/gdk.h", copy_function = "g_boxed_copy", free_function = 
"g_boxed_free", type_id = "gdk_rgba_get_type ()")]
        public struct RGBA {
                public float red;
@@ -6409,7 +6404,8 @@ namespace Gtk {
                public unowned Gtk.Accessible get_accessible ();
                public Gtk.AccessibleRole get_accessible_role ();
                public Gtk.Accessible accessible { get; construct; }
-               public Gtk.AccessibleRole accessible_role { get; construct; }
+               [NoAccessorMethod]
+               public Gtk.AccessibleRole accessible_role { get; set construct; }
                [NoAccessorMethod]
                public Gdk.Display display { owned get; construct; }
                public signal void state_change ();
@@ -9903,11 +9899,13 @@ namespace Gtk {
        public class PopoverMenu : Gtk.Popover, Gtk.Accessible, Gtk.Buildable, Gtk.ConstraintTarget, 
Gtk.Native, Gtk.ShortcutManager {
                [CCode (has_construct_function = false)]
                protected PopoverMenu ();
+               public new bool add_child (Gtk.Widget child, string id);
                [CCode (has_construct_function = false, type = "GtkWidget*")]
                public PopoverMenu.from_model (GLib.MenuModel? model);
                [CCode (has_construct_function = false, type = "GtkWidget*")]
                public PopoverMenu.from_model_full (GLib.MenuModel model, Gtk.PopoverMenuFlags flags);
                public unowned GLib.MenuModel get_menu_model ();
+               public bool remove_child (Gtk.Widget child);
                public void set_menu_model (GLib.MenuModel? model);
                public GLib.MenuModel menu_model { get; set; }
                [NoAccessorMethod]
@@ -9917,9 +9915,11 @@ namespace Gtk {
        public class PopoverMenuBar : Gtk.Widget, Gtk.Accessible, Gtk.Buildable, Gtk.ConstraintTarget {
                [CCode (has_construct_function = false)]
                protected PopoverMenuBar ();
+               public new bool add_child (Gtk.Widget child, string id);
                [CCode (has_construct_function = false, type = "GtkWidget*")]
                public PopoverMenuBar.from_model (GLib.MenuModel? model);
                public unowned GLib.MenuModel get_menu_model ();
+               public bool remove_child (Gtk.Widget child);
                public void set_menu_model (GLib.MenuModel? model);
                public GLib.MenuModel menu_model { get; set; }
        }
diff --git a/vapi/metadata/Gtk-4.0.metadata b/vapi/metadata/Gtk-4.0.metadata
index 9daf2d386..316edfc93 100644
--- a/vapi/metadata/Gtk-4.0.metadata
+++ b/vapi/metadata/Gtk-4.0.metadata
@@ -226,6 +226,10 @@ MediaStream
   .play#method name="play_now"
 Notebook
   .insert_page_menu skip
+PopoverMenu
+  .add_child new
+PopoverMenuBar
+  .add_child new
 Stack
   .add_child new
 TreeView


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