[vala/0.40] gtk+-3.0: Resolve conflicts of signals with properties



commit ba456a434dd18a49355aa0b73e81d41a5bc413ce
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Fri Jul 17 23:23:59 2020 +0200

    gtk+-3.0: Resolve conflicts of signals with properties

 vapi/gtk+-3.0.vapi             | 13 +++++++++++++
 vapi/metadata/Gtk-3.0.metadata |  9 ++++++++-
 2 files changed, 21 insertions(+), 1 deletion(-)
---
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index 2a35fd75a..7e80aa41b 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -3740,6 +3740,8 @@ namespace Gtk {
                [NoAccessorMethod]
                public bool snap_edge_set { get; set; }
                public virtual signal void child_attached (Gtk.Widget child);
+               [CCode (cname = "child-detached")]
+               public signal void on_child_detached (Gtk.Widget widget);
        }
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_header_bar_get_type ()")]
        public class HeaderBar : Gtk.Container, Atk.Implementor, Gtk.Buildable {
@@ -5618,6 +5620,15 @@ namespace Gtk {
                public signal void drag_perform_drop (GLib.File dest_file, GLib.List<GLib.File> 
source_file_list, int action);
                [Version (since = "3.20")]
                public signal void mount (GLib.MountOperation mount_operation);
+               [CCode (cname = "show-connect-to-server")]
+               [Version (deprecated = true, deprecated_since = "3.18")]
+               public signal void on_show_connect_to_server ();
+               [CCode (cname = "show-enter-location")]
+               [Version (since = "3.14")]
+               public signal void on_show_enter_location ();
+               [CCode (cname = "show-starred-location")]
+               [Version (since = "3.22.26")]
+               public signal void on_show_starred_location (Gtk.PlacesOpenFlags open_flags);
                [Version (since = "3.10")]
                public signal void open_location (GLib.File location, Gtk.PlacesOpenFlags open_flags);
                [Version (since = "3.10")]
@@ -5651,6 +5662,8 @@ namespace Gtk {
                public virtual bool embedded { get; }
                [Version (since = "2.14")]
                public Gdk.Window socket_window { get; }
+               [CCode (cname = "embedded")]
+               public signal void on_embedded ();
        }
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_popover_get_type ()")]
        [Version (since = "3.12")]
diff --git a/vapi/metadata/Gtk-3.0.metadata b/vapi/metadata/Gtk-3.0.metadata
index 20a1a9a51..d83f35f63 100644
--- a/vapi/metadata/Gtk-3.0.metadata
+++ b/vapi/metadata/Gtk-3.0.metadata
@@ -380,11 +380,19 @@ Container
   .set_focus_child skip
 EntryCompletion
   .insert_prefix#method name="request_prefix_insertion"
+HandleBox
+  .child_detached#signal name="on_child_detached"
 Notebook
   .insert_page#virtual_method name="insert_page_menu"
   .insert_page#virtual_method.tab_label nullable
   .insert_page#virtual_method.menu_label nullable
   .insert_page_menu skip
+PlacesSidebar
+  .show_connect_to_server#signal name="on_show_connect_to_server"
+  .show_enter_location#signal name="on_show_enter_location"
+  .show_starred_location#signal name="on_show_starred_location"
+Plug
+  .embedded#signal name="on_embedded"
 ToolShell
   .get_icon_size#method skip
 TreeView
@@ -648,7 +656,6 @@ RadioToolButton
   .get_group nullable
 Window
   .list_toplevels type="GLib.List<unowned Gtk.Window>"
-  .set_focus#signal.object nullable
 TreeModel
   .get_path nullable
   .iter_next.iter ref


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