]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk4: Resolve a few conflicts of methods with virtual-methods
authorRico Tzschichholz <ricotz@ubuntu.com>
Sat, 22 Aug 2020 12:23:41 +0000 (14:23 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sat, 22 Aug 2020 12:23:41 +0000 (14:23 +0200)
vapi/gtk4.vapi
vapi/metadata/Gtk-4.0.metadata

index fe4070c2643fc9373c814befbb6ff5c5c043ce89..da1bd346c3dad66c7d00158359b5e8aea48c152b 100644 (file)
@@ -8907,6 +8907,8 @@ namespace Gtk {
                public unowned Gtk.LayoutChild get_layout_child (Gtk.Widget child);
                [NoWrapper]
                public virtual Gtk.SizeRequestMode get_request_mode (Gtk.Widget widget);
+               [CCode (cname = "gtk_layout_manager_get_request_mode")]
+               public Gtk.SizeRequestMode get_size_request_mode ();
                public unowned Gtk.Widget? get_widget ();
                public void layout_changed ();
                public virtual void measure (Gtk.Widget widget, Gtk.Orientation orientation, int for_size, out int minimum, out int natural, out int minimum_baseline, out int natural_baseline);
@@ -9190,6 +9192,8 @@ namespace Gtk {
                public virtual void pause ();
                [NoWrapper]
                public virtual bool play ();
+               [CCode (cname = "gtk_media_stream_play")]
+               public void play_now ();
                public virtual void realize (Gdk.Surface surface);
                public virtual void seek (int64 timestamp);
                public void seek_failed ();
@@ -11879,6 +11883,8 @@ namespace Gtk {
                public class void add_shortcut (Gtk.Shortcut shortcut);
                public uint add_tick_callback (owned Gtk.TickCallback callback);
                public void allocate (int width, int height, int baseline, owned Gsk.Transform? transform);
+               [CCode (cname = "gtk_widget_size_allocate")]
+               public void allocate_size (Gtk.Allocation allocation, int baseline);
                [CCode (cname = "gtk_widget_class_bind_template_callback_full")]
                public class void bind_template_callback_full (string callback_name, [CCode (scope = "async")] GLib.Callback callback_symbol);
                [CCode (cname = "gtk_widget_class_bind_template_child_full")]
@@ -12048,8 +12054,6 @@ namespace Gtk {
                public bool should_layout ();
                [NoWrapper]
                public virtual void size_allocate (int width, int height, int baseline);
-               [CCode (cname = "gtk_widget_size_allocate")]
-               public void size_allocate_emit (Gtk.Allocation allocation, int baseline);
                [NoWrapper]
                public virtual void snapshot (Gtk.Snapshot snapshot);
                public void snapshot_child (Gtk.Widget child, Gtk.Snapshot snapshot);
index 5ece7391abf5ba92317d5ea33af9ac34482c7021..c9e42d7f839b9e7306f95440197fbeb822d4dc68 100644 (file)
@@ -220,12 +220,17 @@ EntryCompletion
   .insert_prefix#method name="request_prefix_insertion"
 InfoBar
   .add_child new
+LayoutManager
+  .get_request_mode#method name="get_size_request_mode"
+MediaStream
+  .play#method name="play_now"
 Notebook
   .insert_page_menu skip
 TreeView
   .row_expanded#method name="is_row_expanded"
 Widget
   .compute_expand#virtual_method name="compute_expand_internal"
+  .size_allocate#method name="allocate_size"
 Editable
   .delete_text#method skip
   .insert_text#method skip
@@ -307,7 +312,6 @@ TreeView
 Widget
   .drag_*#method parent="Gtk" symbol_type="function"
   .get_allocation return_void
-  .size_allocate#method name="size_allocate_emit"
 TreeModel
   .get_value return_void
   .rows_reordered skip