[vala/0.36: 63/212] gio-2.0: Add DBusConnection 'closed' signal as 'on_closed'



commit 0f01cc798a5c69db0c0aa4530b4895159a6375f0
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Tue Jun 6 17:45:06 2017 +0200

    gio-2.0: Add DBusConnection 'closed' signal as 'on_closed'
    
    It was masked by property with same name.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=684358

 vapi/gio-2.0.vapi              |    2 ++
 vapi/metadata/Gio-2.0.metadata |    4 ++++
 2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index 2df32ca..9403d06 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -691,6 +691,8 @@ namespace GLib {
                public string guid { get; construct; }
                public GLib.IOStream stream { get; construct; }
                public string unique_name { get; }
+               [CCode (cname = "closed")]
+               public signal void on_closed (bool remote_peer_vanished, GLib.Error? error);
        }
        [CCode (cheader_filename = "gio/gio.h", ref_function = "g_dbus_interface_info_ref", type_id = 
"g_dbus_interface_info_get_type ()", unref_function = "g_dbus_interface_info_unref")]
        [Compact]
diff --git a/vapi/metadata/Gio-2.0.metadata b/vapi/metadata/Gio-2.0.metadata
index 61bf885..84d660d 100644
--- a/vapi/metadata/Gio-2.0.metadata
+++ b/vapi/metadata/Gio-2.0.metadata
@@ -318,6 +318,10 @@ AsyncInitable
   .new* skip
   .init_async#virtual_method virtual
 
+// Bug #684358: GDBusConnection `closed` signal conficts with property
+DBusConnection
+  .closed#signal name="on_closed"
+
 // Bug #666797: No support for generic methods in GIR parser
 DBusConnection
   .register_object skip


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