GNOME Bugzilla – Bug 671459
Regression: cannot init TlsCertificate any more in 0.15.2
Last modified: 2012-03-09 20:42:45 UTC
Hi, I've noticed that TlsCertificate class has became abstract in 0.15 vapi. That code does not work any more var secure_certificate = new TlsCertificate.from_file("server.pem"); resuting in error: Can't create instance of abstract class `GLib.TlsCertificate' Tested in 0.15.2, used to work in 0.14 Seems that this is regression.
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. This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.