commit 07f296dba0de1245c93010178780ed58a858ec6a
Author: Ole André Vadla Ravnås <ole.andre.ravnas@tillitech.com>
Date:   Tue Jul 8 21:26:35 2014 +0200

    gio-2.0: Fix DBusConnection `closed` signal binding
    
    The property is shadowing it, and is accessible through `get()` anyway.
    
    The alternative would be to expose the property as `is_closed`, but I
    couldn't find a way to do this with the current annotation.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=772424

diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index 7d7f39f..d307a52 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -674,13 +674,12 @@ namespace GLib {
 		public string address { construct; }
 		public GLib.DBusAuthObserver authentication_observer { construct; }
 		public GLib.DBusCapabilityFlags capabilities { get; }
-		[NoAccessorMethod]
-		public bool closed { get; }
 		public bool exit_on_close { get; set; }
 		public GLib.DBusConnectionFlags flags { construct; }
 		public string guid { get; construct; }
 		public GLib.IOStream stream { get; construct; }
 		public string unique_name { get; }
+		public virtual signal void 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-custom.vala b/vapi/metadata/Gio-2.0-custom.vala
index cd89521..233c67e 100644
--- a/vapi/metadata/Gio-2.0-custom.vala
+++ b/vapi/metadata/Gio-2.0-custom.vala
@@ -40,6 +40,7 @@ namespace GLib {
 		public T get_proxy_sync<T> (string? name, string object_path, GLib.DBusProxyFlags flags = 0, GLib.Cancellable? cancellable = null) throws GLib.IOError;
 		public uint register_object<T> (string object_path, T object) throws GLib.IOError;
 		public async GLib.DBusMessage send_message_with_reply (GLib.DBusMessage message, GLib.DBusSendMessageFlags flags, int timeout_msec, uint32 *out_serial = null, GLib.Cancellable? cancellable = null) throws GLib.IOError;
+		public virtual signal void closed (bool remote_peer_vanished, GLib.Error? error);
 	}
 
 	public class DBusMessage : GLib.Object {
diff --git a/vapi/metadata/Gio-2.0.metadata b/vapi/metadata/Gio-2.0.metadata
index c3dd438..3d389e9 100644
--- a/vapi/metadata/Gio-2.0.metadata
+++ b/vapi/metadata/Gio-2.0.metadata
@@ -310,6 +310,10 @@ AsyncInitable
 DBusConnection
   .register_object skip
 
+// Bug #772424: GDBusConnection `closed` signal is not exposed
+DBusConnection
+  .closed skip
+
 // Bug #: Construct methods not detected as such
 DBusMessage
   .new_method_* skip
