From a290fff9a28a16086de8af7f5e1c789b2070a016 Mon Sep 17 00:00:00 2001 From: David King Date: Sun, 19 Feb 2012 15:51:09 +0000 Subject: [PATCH] docs: Fix GTlsDatabase typos --- gio/gioenums.h | 5 +++-- gio/gtlsdatabase.c | 11 ++++++----- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/gio/gioenums.h b/gio/gioenums.h index 23a2f76b3..e5f59b4f5 100644 --- a/gio/gioenums.h +++ b/gio/gioenums.h @@ -1534,8 +1534,9 @@ typedef enum /*< flags >*/ { * @G_TLS_DATABASE_LOOKUP_KEYPAIR: Restrict lookup to certificates that have * a private key. * - * Flags for g_tls_database_lookup_handle(), g_tls_database_lookup_issuer(), - * and g_tls_database_lookup_issued(). + * Flags for g_tls_database_lookup_certificate_handle(), + * g_tls_database_lookup_certificate_issuer(), + * and g_tls_database_lookup_certificates_issued_by(). * * Since: 2.30 */ diff --git a/gio/gtlsdatabase.c b/gio/gtlsdatabase.c index aef68d19f..9d2b77e4e 100644 --- a/gio/gtlsdatabase.c +++ b/gio/gtlsdatabase.c @@ -635,9 +635,10 @@ g_tls_database_create_certificate_handle (GTlsDatabase *self, * * Lookup a certificate by its handle. * - * The handle should have been created by calling g_tls_database_create_handle() - * on a #GTlsDatabase object of the same TLS backend. The handle is designed - * to remain valid across instantiations of the database. + * The handle should have been created by calling + * g_tls_database_create_certificate_handle() on a #GTlsDatabase object of + * the same TLS backend. The handle is designed to remain valid across + * instantiations of the database. * * If the handle is no longer valid, or does not point to a certificate in * this database, then %NULL will be returned. @@ -684,7 +685,7 @@ g_tls_database_lookup_certificate_for_handle (GTlsDatabase *self, * @user_data: the data to pass to the callback function * * Asynchronously lookup a certificate by its handle in the database. See - * g_tls_database_lookup_handle() for more information. + * g_tls_database_lookup_certificate_for_handle() for more information. * * Since: 2.30 */ @@ -718,7 +719,7 @@ g_tls_database_lookup_certificate_for_handle_async (GTlsDatabase *sel * @error: a #GError pointer, or %NULL * * Finish an asynchronous lookup of a certificate by its handle. See - * g_tls_database_lookup_handle() for more information. + * g_tls_database_lookup_certificate_handle() for more information. * * If the handle is no longer valid, or does not point to a certificate in * this database, then %NULL will be returned. -- 2.11.0