ges: Add G_BEGIN_DECLS around all relevant declarations in headers

This commit is contained in:
Sebastian Dröge 2016-04-25 15:11:00 +03:00
parent 7d34e33ac4
commit d57f796a14
5 changed files with 20 additions and 0 deletions

View 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 */

View 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__ */

View 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 */

View 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__*/

View 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__ */