https://bugzilla.gnome.org/show_bug.cgi?id=721484
{
self->state = TP_TLS_CERTIFICATE_STATE_PENDING;
self->cert_type = g_strdup ("x509");
{
self->state = TP_TLS_CERTIFICATE_STATE_PENDING;
self->cert_type = g_strdup ("x509");
- self->cert_data = g_ptr_array_new_with_free_func((GDestroyNotify) g_array_unref);
+ self->cert_data = g_ptr_array_new_with_free_func ((GDestroyNotify)
+ g_array_unref);
self->rejections = g_ptr_array_new ();
}
self->rejections = g_ptr_array_new ();
}
gpointer iface_data)
{
TpSvcAuthenticationTLSCertificateClass *klass =
gpointer iface_data)
{
TpSvcAuthenticationTLSCertificateClass *klass =
- (TpSvcAuthenticationTLSCertificateClass*)g_iface;
+ (TpSvcAuthenticationTLSCertificateClass *) g_iface;
tp_svc_authentication_tls_certificate_implement_accept (klass,
mock_tls_certificate_accept);
tp_svc_authentication_tls_certificate_implement_accept (klass,
mock_tls_certificate_accept);
-static MockTLSCertificate*
+static MockTLSCertificate *
mock_tls_certificate_new_and_register (TpDBusDaemon *dbus,
const gchar *path,
...)
mock_tls_certificate_new_and_register (TpDBusDaemon *dbus,
const gchar *path,
...)
static void
free_session (gpointer data)
{
static void
free_session (gpointer data)
{
- Session *sess = (Session*)data;
+ Session *sess = (Session *) data;
g_list_free (sess->matches);
g_free (sess);
}
g_list_free (sess->matches);
g_free (sess);
}
args = (CK_C_INITIALIZE_ARGS_PTR)init_args;
if (args)
{
args = (CK_C_INITIALIZE_ARGS_PTR)init_args;
if (args)
{
(args->CreateMutex == NULL && args->DestroyMutex == NULL &&
args->LockMutex == NULL && args->UnlockMutex == NULL) ||
(args->CreateMutex != NULL && args->DestroyMutex != NULL &&
(args->CreateMutex == NULL && args->DestroyMutex == NULL &&
args->LockMutex == NULL && args->UnlockMutex == NULL) ||
(args->CreateMutex != NULL && args->DestroyMutex != NULL &&