[vala] gio-2.0: Mark TlsCertificate as a concrete class



commit 881af7da033d9b9c804e72d1e0bdb208647054c9
Author: Luca Bruno <lucabru src gnome org>
Date:   Fri Mar 9 21:34:45 2012 +0100

    gio-2.0: Mark TlsCertificate as a concrete class
    
    Keep the class concrete for backward compatibility.
    
    Fixes bug 671459.

 vapi/gio-2.0.vapi              |    2 +-
 vapi/metadata/Gio-2.0.metadata |    3 +++
 2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index 3fed1d5..f0258a2 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -1975,7 +1975,7 @@ namespace GLib {
 		public virtual signal bool run (GLib.SocketConnection connection, GLib.Object source_object);
 	}
 	[CCode (cheader_filename = "gio/gio.h", type_id = "g_tls_certificate_get_type ()")]
-	public abstract class TlsCertificate : GLib.Object {
+	public class TlsCertificate : GLib.Object {
 		[CCode (has_construct_function = false)]
 		protected TlsCertificate ();
 		[CCode (has_construct_function = false)]
diff --git a/vapi/metadata/Gio-2.0.metadata b/vapi/metadata/Gio-2.0.metadata
index b2affce..7b23a00 100644
--- a/vapi/metadata/Gio-2.0.metadata
+++ b/vapi/metadata/Gio-2.0.metadata
@@ -299,6 +299,9 @@ initable_* skip
 // Need to ask about this... annotated as out, but that seems wrong
 DBus*Info.generate_xml.string_builder out=false
 
+// Back compat
+TlsCertificate abstract=false
+
 // Forward upstream
 content_type_from_mime_type nullable
 content_type_get_mime_type nullable



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