diff --git a/src/libostree/ostree-fetcher.c b/src/libostree/ostree-fetcher.c index 92dd0a04..24df14b6 100644 --- a/src/libostree/ostree-fetcher.c +++ b/src/libostree/ostree-fetcher.c @@ -225,7 +225,7 @@ ostree_fetcher_set_client_cert (OstreeFetcher *fetcher, { #ifdef HAVE_LIBSOUP_CLIENT_CERTS gs_unref_object GTlsInteraction *interaction = - (GTlsInteraction*)ostree_tls_cert_interaction_new (fetcher->client_cert); + (GTlsInteraction*)_ostree_tls_cert_interaction_new (fetcher->client_cert); g_object_set (fetcher->session, "tls-interaction", interaction, NULL); #else g_warning ("This version of OSTree is compiled without client side certificate support"); diff --git a/src/libostree/ostree-tls-cert-interaction.c b/src/libostree/ostree-tls-cert-interaction.c index 63de9173..846d5725 100644 --- a/src/libostree/ostree-tls-cert-interaction.c +++ b/src/libostree/ostree-tls-cert-interaction.c @@ -34,7 +34,7 @@ struct _OstreeTlsCertInteractionClass #include -G_DEFINE_TYPE (OstreeTlsCertInteraction, ostree_tls_cert_interaction, G_TYPE_TLS_INTERACTION); +G_DEFINE_TYPE (OstreeTlsCertInteraction, _ostree_tls_cert_interaction, G_TYPE_TLS_INTERACTION); static GTlsInteractionResult request_certificate (GTlsInteraction *interaction, @@ -49,19 +49,19 @@ request_certificate (GTlsInteraction *interaction, } static void -ostree_tls_cert_interaction_init (OstreeTlsCertInteraction *interaction) +_ostree_tls_cert_interaction_init (OstreeTlsCertInteraction *interaction) { } static void -ostree_tls_cert_interaction_class_init (OstreeTlsCertInteractionClass *klass) +_ostree_tls_cert_interaction_class_init (OstreeTlsCertInteractionClass *klass) { GTlsInteractionClass *interaction_class = G_TLS_INTERACTION_CLASS (klass); interaction_class->request_certificate = request_certificate; } OstreeTlsCertInteraction * -ostree_tls_cert_interaction_new (GTlsCertificate *cert) +_ostree_tls_cert_interaction_new (GTlsCertificate *cert) { OstreeTlsCertInteraction *self = g_object_new (OSTREE_TYPE_TLS_CERT_INTERACTION, NULL); self->cert = g_object_ref (cert); diff --git a/src/libostree/ostree-tls-cert-interaction.h b/src/libostree/ostree-tls-cert-interaction.h index ca9cd325..c81097c5 100644 --- a/src/libostree/ostree-tls-cert-interaction.h +++ b/src/libostree/ostree-tls-cert-interaction.h @@ -22,7 +22,7 @@ G_BEGIN_DECLS -#define OSTREE_TYPE_TLS_CERT_INTERACTION (ostree_tls_cert_interaction_get_type ()) +#define OSTREE_TYPE_TLS_CERT_INTERACTION (_ostree_tls_cert_interaction_get_type ()) #define OSTREE_TLS_CERT_INTERACTION(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), OSTREE_TYPE_TLS_CERT_INTERACTION, OstreeTlsCertInteraction)) #define OSTREE_TLS_CERT_INTERACTION_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), OSTREE_TYPE_TLS_CERT_INTERACTION, OstreeTlsCertInteractionClass)) #define OSTREE_IS_TLS_CERT_INTERACTION(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), OSTREE_TYPE_TLS_CERT_INTERACTION)) @@ -32,8 +32,8 @@ G_BEGIN_DECLS typedef struct _OstreeTlsCertInteraction OstreeTlsCertInteraction; typedef struct _OstreeTlsCertInteractionClass OstreeTlsCertInteractionClass; -GType ostree_tls_cert_interaction_get_type (void) G_GNUC_CONST; +GType _ostree_tls_cert_interaction_get_type (void) G_GNUC_CONST; -OstreeTlsCertInteraction * ostree_tls_cert_interaction_new (GTlsCertificate *cert); +OstreeTlsCertInteraction * _ostree_tls_cert_interaction_new (GTlsCertificate *cert); G_END_DECLS