diff options
author | Kjell Ahlstedt <kjellahlstedt@gmail.com> | 2022-04-08 15:13:16 +0200 |
---|---|---|
committer | Kjell Ahlstedt <kjellahlstedt@gmail.com> | 2022-04-08 15:13:16 +0200 |
commit | af947cc234c7e8c3b7514770f5fe6b5f6e718be4 (patch) | |
tree | 1de86f0064cac25a75f07416b91e273a3fcc68b8 /gio/src/tlscertificate.ccg | |
parent | 54f68a7652cca2d5393ee6e50e153e88bc502f45 (diff) | |
download | glibmm-af947cc234c7e8c3b7514770f5fe6b5f6e718be4.tar.gz |
Gio::TlsCertificate: Fix the create*() methods
Don't call constructors that don't work because the g_tls_certificate_new_*()
functions do more than just call g_object_new().
Diffstat (limited to 'gio/src/tlscertificate.ccg')
-rw-r--r-- | gio/src/tlscertificate.ccg | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/gio/src/tlscertificate.ccg b/gio/src/tlscertificate.ccg index 3cb4910c..b6240c9a 100644 --- a/gio/src/tlscertificate.ccg +++ b/gio/src/tlscertificate.ccg @@ -17,14 +17,3 @@ #include <gio/gio.h> #include <glibmm/bytearray.h> #include <giomm/socketconnectable.h> - -namespace Gio -{ - -Glib::RefPtr<TlsCertificate> -TlsCertificate::create_from_pem(const std::string& data, gssize length) -{ - return Glib::make_refptr_for_instance<TlsCertificate>(new TlsCertificate(data, length)); -} - -} // namesapce Gio |