tls: Clarify docs for g_tls_client_connection_set_validation_flags()
authorBenjamin Otte <otte@redhat.com>
Tue, 7 Dec 2010 14:42:10 +0000 (15:42 +0100)
committerBenjamin Otte <otte@redhat.com>
Tue, 7 Dec 2010 18:39:23 +0000 (19:39 +0100)
And fix a typo in there.

gio/gtlsclientconnection.c

index 44aa297..ec50f39 100644 (file)
@@ -199,10 +199,11 @@ g_tls_client_connection_get_validation_flags (GTlsClientConnection *conn)
 /**
  * g_tls_client_connection_set_validation_flags:
  * @conn: the #GTlsClientConnection
- * @flags: the #GTlsCertificatelags to use
+ * @flags: the #GTlsCertificateFlags to use
  *
  * Sets @conn's validation flags, to override the default set of
- * checks performed when validating a server certificate.
+ * checks performed when validating a server certificate. By default,
+ * %G_TLS_CERTIFICATE_VALIDATE_ALL is used.
  *
  * Since: 2.28
  */