mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Rename G_TLS_CERTIFICATE_FLAGS_NONE
The prefix is G_TLS_CERTIFICATE, not G_TLS_CERTIFICATE_FLAGS. Having G_TLS_CERTIFICATE_FLAGS_NONE leads to a FLAGS_NONE nick in the GType, and a FLAGS_NONE member name in the introspection data.
This commit is contained in:
parent
09234b50fe
commit
aa65fc2537
@ -191,7 +191,7 @@ g_dtls_client_connection_new (GDatagramBased *base_socket,
|
||||
GTlsCertificateFlags
|
||||
g_dtls_client_connection_get_validation_flags (GDtlsClientConnection *conn)
|
||||
{
|
||||
GTlsCertificateFlags flags = G_TLS_CERTIFICATE_FLAGS_NONE;
|
||||
GTlsCertificateFlags flags = G_TLS_CERTIFICATE_NO_FLAGS;
|
||||
|
||||
g_return_val_if_fail (G_IS_DTLS_CLIENT_CONNECTION (conn), 0);
|
||||
|
||||
|
@ -1590,7 +1590,7 @@ typedef enum {
|
||||
|
||||
/**
|
||||
* GTlsCertificateFlags:
|
||||
* @G_TLS_CERTIFICATE_FLAGS_NONE: No flags. Since: 2.74
|
||||
* @G_TLS_CERTIFICATE_NO_FLAGS: No flags set. Since: 2.74
|
||||
* @G_TLS_CERTIFICATE_UNKNOWN_CA: The signing certificate authority is
|
||||
* not known.
|
||||
* @G_TLS_CERTIFICATE_BAD_IDENTITY: The certificate does not match the
|
||||
@ -1622,7 +1622,7 @@ typedef enum {
|
||||
* Since: 2.28
|
||||
*/
|
||||
typedef enum {
|
||||
G_TLS_CERTIFICATE_FLAGS_NONE GLIB_AVAILABLE_ENUMERATOR_IN_2_74 = 0,
|
||||
G_TLS_CERTIFICATE_NO_FLAGS GLIB_AVAILABLE_ENUMERATOR_IN_2_74 = 0,
|
||||
G_TLS_CERTIFICATE_UNKNOWN_CA = (1 << 0),
|
||||
G_TLS_CERTIFICATE_BAD_IDENTITY = (1 << 1),
|
||||
G_TLS_CERTIFICATE_NOT_ACTIVATED = (1 << 2),
|
||||
|
@ -213,7 +213,7 @@ g_tls_client_connection_new (GIOStream *base_io_stream,
|
||||
GTlsCertificateFlags
|
||||
g_tls_client_connection_get_validation_flags (GTlsClientConnection *conn)
|
||||
{
|
||||
GTlsCertificateFlags flags = G_TLS_CERTIFICATE_FLAGS_NONE;
|
||||
GTlsCertificateFlags flags = G_TLS_CERTIFICATE_NO_FLAGS;
|
||||
|
||||
g_return_val_if_fail (G_IS_TLS_CLIENT_CONNECTION (conn), 0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user