More build fixes for openbsd

This commit is contained in:
Stef Walter 2012-03-30 14:59:04 +02:00
parent 46b6ece949
commit 271c4556bd
2 changed files with 4 additions and 4 deletions

View File

@ -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);

View File

@ -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;