ges: Add G_BEGIN_DECLS around all relevant declarations in headers
authorSebastian Dröge <sebastian@centricular.com>
Mon, 25 Apr 2016 12:11:00 +0000 (15:11 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 25 Apr 2016 12:11:25 +0000 (15:11 +0300)
ges/ges-formatter.h
ges/ges-internal.h
ges/ges-pitivi-formatter.h
ges/ges-structured-interface.h
ges/ges-types.h

index 1834884..4405638 100644 (file)
@@ -24,6 +24,8 @@
 #include <glib-object.h>
 #include <ges/ges-timeline.h>
 
+G_BEGIN_DECLS
+
 #define GES_TYPE_FORMATTER ges_formatter_get_type()
 
 #define GES_FORMATTER(obj) \
@@ -162,4 +164,6 @@ gboolean ges_formatter_save_to_uri      (GESFormatter * formatter,
 
 GESAsset *ges_formatter_get_default    (void);
 
+G_END_DECLS
+
 #endif /* _GES_FORMATTER */
index 37f29aa..d8c4966 100644 (file)
@@ -31,6 +31,8 @@
 #include "ges-asset.h"
 #include "ges-base-xml-formatter.h"
 
+G_BEGIN_DECLS
+
 GST_DEBUG_CATEGORY_EXTERN (_ges_debug);
 #define GST_CAT_DEFAULT _ges_debug
 
@@ -394,4 +396,6 @@ G_GNUC_INTERNAL gboolean ges_nle_composition_add_object (GstElement *comp, GstEl
 G_GNUC_INTERNAL gboolean ges_nle_composition_remove_object (GstElement *comp, GstElement *object);
 G_GNUC_INTERNAL gboolean ges_nle_object_commit (GstElement * nlesource, gboolean recurse);
 
+G_END_DECLS
+
 #endif /* __GES_INTERNAL_H__ */
index 1a76444..5210f7a 100644 (file)
@@ -20,6 +20,8 @@
 #ifndef _GES_PITIVI_FORMATTER
 #define _GES_PITIVI_FORMATTER
 
+G_BEGIN_DECLS
+
 #define GES_TYPE_PITIVI_FORMATTER ges_pitivi_formatter_get_type()
 
 #define GES_PITIVI_FORMATTER(obj) \
@@ -68,4 +70,6 @@ struct _GESPitiviFormatterClass
 GType ges_pitivi_formatter_get_type (void);
 GESPitiviFormatter *ges_pitivi_formatter_new (void);
 
+G_END_DECLS
+
 #endif /* _GES_PITIVI_FORMATTER */
index c25f972..6963bc2 100644 (file)
@@ -23,6 +23,8 @@
 
 #include <ges/ges.h>
 
+G_BEGIN_DECLS
+
 typedef gboolean (*ActionFromStructureFunc)   (GESTimeline * timeline,
                                                GstStructure * structure,
                                                GError ** error);
@@ -55,4 +57,6 @@ G_GNUC_INTERNAL GESLayer *
 _ges_get_layer_by_priority                    (GESTimeline * timeline,
                                                gint priority);
 
+G_END_DECLS
+
 #endif /* __GES_STRUCTURED_INTERFACE__*/
index 1d58410..6a8699e 100644 (file)
@@ -21,6 +21,8 @@
 #ifndef __GES_TYPES_H__
 #define __GES_TYPES_H__
 
+G_BEGIN_DECLS
+
 /* Padding */
 #define GES_PADDING         4
 
@@ -179,4 +181,6 @@ typedef struct _GESVideoTrack GESVideoTrack;
 typedef struct _GESAudioTrackClass GESAudioTrackClass;
 typedef struct _GESAudioTrack GESAudioTrack;
 
+G_END_DECLS
+
 #endif /* __GES_TYPES_H__ */