[Vala] Why TlsCertificate is abstract class in 0.15.2?



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'


Is there any other way to init this kind of the object?

Thank you,

m.



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