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. * The class for #SecretPrompt.
*/ */
typedef struct _SecretPromptPrivate { struct _SecretPromptPrivate {
/* Locked by mutex */ /* Locked by mutex */
GMutex mutex; GMutex mutex;
gint prompted; gint prompted;
GVariant *last_result; GVariant *last_result;
} SecretPromptPrivate; };
G_DEFINE_TYPE (SecretPrompt, secret_prompt, G_TYPE_DBUS_PROXY); G_DEFINE_TYPE (SecretPrompt, secret_prompt, G_TYPE_DBUS_PROXY);

View File

@ -108,7 +108,7 @@ enum {
PROP_COLLECTIONS PROP_COLLECTIONS
}; };
typedef struct _SecretServicePrivate { struct _SecretServicePrivate {
/* No change between construct and finalize */ /* No change between construct and finalize */
GCancellable *cancellable; GCancellable *cancellable;
SecretServiceFlags init_flags; SecretServiceFlags init_flags;
@ -117,7 +117,7 @@ typedef struct _SecretServicePrivate {
GMutex mutex; GMutex mutex;
gpointer session; gpointer session;
GHashTable *collections; GHashTable *collections;
} SecretServicePrivate; };
G_LOCK_DEFINE (service_instance); G_LOCK_DEFINE (service_instance);
static gpointer service_instance = NULL; static gpointer service_instance = NULL;