From b483b15d9d5c9c95f5a421ed010bf5d0644994c4 Mon Sep 17 00:00:00 2001 From: Niels De Graef Date: Sat, 19 Jan 2019 22:29:20 +0100 Subject: [PATCH] Don't end G_DEFINE_AUTOPTR_CLEANUP_FUNC with a ; Normally it shouldn't matter too much, but the GIR parser apparently doesn't like it: ``` /home/niels/gnome/libsecret/libsecret/secret-schema.h:75: syntax error, unexpected ';' in ';' at ';' /home/niels/gnome/libsecret/libsecret/secret-prompt.h:78: syntax error, unexpected ';' in ';' at ';' /home/niels/gnome/libsecret/libsecret/secret-value.h:54: syntax error, unexpected ';' in ';' at ';' /home/niels/gnome/libsecret/libsecret/secret-service.h:307: syntax error, unexpected ';' in ';' at ';' /home/niels/gnome/libsecret/libsecret/secret-collection.h:176: syntax error, unexpected ';' in ';' at ';' /home/niels/gnome/libsecret/libsecret/secret-item.h:194: syntax error, unexpected ';' in ';' at ';' ``` --- libsecret/secret-collection.h | 2 +- libsecret/secret-item.h | 2 +- libsecret/secret-prompt.h | 2 +- libsecret/secret-schema.h | 2 +- libsecret/secret-service.h | 2 +- libsecret/secret-value.h | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/libsecret/secret-collection.h b/libsecret/secret-collection.h index 14d7d5f..1f88977 100644 --- a/libsecret/secret-collection.h +++ b/libsecret/secret-collection.h @@ -173,7 +173,7 @@ guint64 secret_collection_get_created (SecretCollection guint64 secret_collection_get_modified (SecretCollection *self); -G_DEFINE_AUTOPTR_CLEANUP_FUNC (SecretCollection, g_object_unref); +G_DEFINE_AUTOPTR_CLEANUP_FUNC (SecretCollection, g_object_unref) G_END_DECLS diff --git a/libsecret/secret-item.h b/libsecret/secret-item.h index 2742720..c497a3f 100644 --- a/libsecret/secret-item.h +++ b/libsecret/secret-item.h @@ -191,7 +191,7 @@ guint64 secret_item_get_created (SecretItem *self); guint64 secret_item_get_modified (SecretItem *self); -G_DEFINE_AUTOPTR_CLEANUP_FUNC (SecretItem, g_object_unref); +G_DEFINE_AUTOPTR_CLEANUP_FUNC (SecretItem, g_object_unref) G_END_DECLS diff --git a/libsecret/secret-prompt.h b/libsecret/secret-prompt.h index a8d1313..aa94463 100644 --- a/libsecret/secret-prompt.h +++ b/libsecret/secret-prompt.h @@ -75,7 +75,7 @@ GVariant * secret_prompt_perform_finish (SecretPrompt *self, GAsyncResult *result, GError **error); -G_DEFINE_AUTOPTR_CLEANUP_FUNC (SecretPrompt, g_object_unref); +G_DEFINE_AUTOPTR_CLEANUP_FUNC (SecretPrompt, g_object_unref) G_END_DECLS diff --git a/libsecret/secret-schema.h b/libsecret/secret-schema.h index cd539a1..d94cb27 100644 --- a/libsecret/secret-schema.h +++ b/libsecret/secret-schema.h @@ -72,7 +72,7 @@ void secret_schema_unref (SecretSchema *schema); GType secret_schema_attribute_get_type (void) G_GNUC_CONST; -G_DEFINE_AUTOPTR_CLEANUP_FUNC (SecretSchema, g_object_unref); +G_DEFINE_AUTOPTR_CLEANUP_FUNC (SecretSchema, g_object_unref) G_END_DECLS diff --git a/libsecret/secret-service.h b/libsecret/secret-service.h index 0e39186..4c3a827 100644 --- a/libsecret/secret-service.h +++ b/libsecret/secret-service.h @@ -304,7 +304,7 @@ gboolean secret_service_set_alias_sync (SecretService GCancellable *cancellable, GError **error); -G_DEFINE_AUTOPTR_CLEANUP_FUNC (SecretService, g_object_unref); +G_DEFINE_AUTOPTR_CLEANUP_FUNC (SecretService, g_object_unref) G_END_DECLS diff --git a/libsecret/secret-value.h b/libsecret/secret-value.h index a36751e..43b0e09 100644 --- a/libsecret/secret-value.h +++ b/libsecret/secret-value.h @@ -51,7 +51,7 @@ SecretValue * secret_value_ref (SecretValue *value); void secret_value_unref (gpointer value); -G_DEFINE_AUTOPTR_CLEANUP_FUNC (SecretValue, secret_value_unref); +G_DEFINE_AUTOPTR_CLEANUP_FUNC (SecretValue, secret_value_unref) G_END_DECLS