[grilo/0.2.x] Add missing C++ guards



commit b9fda3694476f01b577d53afe8092b262c761e3e
Author: Mathias Hasselmann <mathias openismus com>
Date:   Thu Aug 16 13:52:58 2012 +0200

    Add missing C++ guards
    
    https://bugzilla.gnome.org/show_bug.cgi?id=681992

 src/grl-metadata-key.h |    4 ++++
 src/grl-multiple.h     |    4 ++++
 2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/src/grl-metadata-key.h b/src/grl-metadata-key.h
index 8890bd0..cf09add 100644
--- a/src/grl-metadata-key.h
+++ b/src/grl-metadata-key.h
@@ -90,6 +90,8 @@ typedef guint32 GrlKeyID;
 #define GRL_METADATA_KEY_MODIFICATION_DATE    41
 #define GRL_METADATA_KEY_START_TIME           42
 
+G_BEGIN_DECLS
+
 const gchar *grl_metadata_key_get_name (GrlKeyID key);
 
 const gchar *grl_metadata_key_get_desc (GrlKeyID key);
@@ -98,4 +100,6 @@ GType grl_metadata_key_get_type (GrlKeyID key);
 
 GList *grl_metadata_key_list_new(GrlKeyID first_key, ...);
 
+G_END_DECLS
+
 #endif /* _GRL_METADATA_KEY_H_ */
diff --git a/src/grl-multiple.h b/src/grl-multiple.h
index dc29bb8..36c5c8c 100644
--- a/src/grl-multiple.h
+++ b/src/grl-multiple.h
@@ -32,6 +32,8 @@
 #include "grl-source.h"
 #include "grl-operation-options.h"
 
+G_BEGIN_DECLS
+
 guint grl_multiple_search (const GList *sources,
 			   const gchar *text,
 			   const GList *keys,
@@ -51,4 +53,6 @@ void grl_multiple_get_media_from_uri (const gchar *uri,
 				      GrlSourceResolveCb callback,
 				      gpointer user_data);
 
+G_END_DECLS
+
 #endif



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]