From 271c4556bd2913dfa5ade5033d89a3939ccb4619 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Fri, 30 Mar 2012 14:59:04 +0200 Subject: [PATCH] More build fixes for openbsd --- library/secret-prompt.c | 4 ++-- library/secret-service.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/library/secret-prompt.c b/library/secret-prompt.c index 8891740..ada77bc 100644 --- a/library/secret-prompt.c +++ b/library/secret-prompt.c @@ -53,12 +53,12 @@ * The class for #SecretPrompt. */ -typedef struct _SecretPromptPrivate { +struct _SecretPromptPrivate { /* Locked by mutex */ GMutex mutex; gint prompted; GVariant *last_result; -} SecretPromptPrivate; +}; G_DEFINE_TYPE (SecretPrompt, secret_prompt, G_TYPE_DBUS_PROXY); diff --git a/library/secret-service.c b/library/secret-service.c index 3085725..cf21871 100644 --- a/library/secret-service.c +++ b/library/secret-service.c @@ -108,7 +108,7 @@ enum { PROP_COLLECTIONS }; -typedef struct _SecretServicePrivate { +struct _SecretServicePrivate { /* No change between construct and finalize */ GCancellable *cancellable; SecretServiceFlags init_flags; @@ -117,7 +117,7 @@ typedef struct _SecretServicePrivate { GMutex mutex; gpointer session; GHashTable *collections; -} SecretServicePrivate; +}; G_LOCK_DEFINE (service_instance); static gpointer service_instance = NULL;