Commit c62e18e2 authored by Luis de Bethencourt's avatar Luis de Bethencourt
Browse files

ges: include indentation fixes

run gst-indent through ges-timeline-text-overlay.h and
ges-track-text-overlay.h
parent ba5babd4
......@@ -27,24 +27,17 @@
#include <ges/ges-track.h>
G_BEGIN_DECLS
#define GES_TYPE_TIMELINE_TEXT_OVERLAY ges_timeline_text_overlay_get_type()
#define GES_TIMELINE_TEXT_OVERLAY(obj) \
(G_TYPE_CHECK_INSTANCE_CAST ((obj), GES_TYPE_TIMELINE_TEXT_OVERLAY, GESTimelineTextOverlay))
#define GES_TIMELINE_TEXT_OVERLAY_CLASS(klass) \
(G_TYPE_CHECK_CLASS_CAST ((klass), GES_TYPE_TIMELINE_TEXT_OVERLAY, GESTimelineTextOverlayClass))
#define GES_IS_TIMELINE_TEXT_OVERLAY(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), GES_TYPE_TIMELINE_TEXT_OVERLAY))
#define GES_IS_TIMELINE_TEXT_OVERLAY_CLASS(klass) \
(G_TYPE_CHECK_CLASS_TYPE ((klass), GES_TYPE_TIMELINE_TEXT_OVERLAY))
#define GES_TIMELINE_TEXT_OVERLAY_GET_CLASS(obj) \
(G_TYPE_INSTANCE_GET_CLASS ((obj), GES_TYPE_TIMELINE_TEXT_OVERLAY, GESTimelineTextOverlayClass))
typedef struct _GESTimelineTextOverlayPrivate GESTimelineTextOverlayPrivate;
/**
......@@ -52,10 +45,11 @@ typedef struct _GESTimelineTextOverlayPrivate GESTimelineTextOverlayPrivate;
*
*/
struct _GESTimelineTextOverlay {
struct _GESTimelineTextOverlay
{
GESTimelineOverlay parent;
/*< private >*/
/*< private > */
GESTimelineTextOverlayPrivate *priv;
/* Padding for API extension */
......@@ -66,8 +60,9 @@ struct _GESTimelineTextOverlay {
* GESTimelineTextOverlayClass:
*/
struct _GESTimelineTextOverlayClass {
/*< private >*/
struct _GESTimelineTextOverlayClass
{
/*< private > */
GESTimelineOverlayClass parent_class;
......@@ -97,10 +92,10 @@ void
ges_timeline_text_overlay_set_color (GESTimelineTextOverlay * self,
guint32 color);
const gchar* ges_timeline_text_overlay_get_text (GESTimelineTextOverlay * self);
const gchar *ges_timeline_text_overlay_get_text (GESTimelineTextOverlay * self);
const gchar*
ges_timeline_text_overlay_get_font_desc (GESTimelineTextOverlay * self);
const gchar *ges_timeline_text_overlay_get_font_desc (GESTimelineTextOverlay *
self);
GESTextVAlign
ges_timeline_text_overlay_get_valignment (GESTimelineTextOverlay * self);
......@@ -111,8 +106,7 @@ ges_timeline_text_overlay_get_color (GESTimelineTextOverlay * self);
GESTextHAlign
ges_timeline_text_overlay_get_halignment (GESTimelineTextOverlay * self);
GESTimelineTextOverlay* ges_timeline_text_overlay_new (void);
GESTimelineTextOverlay *ges_timeline_text_overlay_new (void);
G_END_DECLS
#endif /* _GES_TL_OVERLAY */
......@@ -27,43 +27,38 @@
#include <ges/ges-track-operation.h>
G_BEGIN_DECLS
#define GES_TYPE_TRACK_TEXT_OVERLAY ges_track_text_overlay_get_type()
#define GES_TRACK_TEXT_OVERLAY(obj) \
(G_TYPE_CHECK_INSTANCE_CAST ((obj), GES_TYPE_TRACK_TEXT_OVERLAY, GESTrackTextOverlay))
#define GES_TRACK_TEXT_OVERLAY_CLASS(klass) \
(G_TYPE_CHECK_CLASS_CAST ((klass), GES_TYPE_TRACK_TEXT_OVERLAY, GESTrackTextOverlayClass))
#define GES_IS_TRACK_TEXT_OVERLAY(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), GES_TYPE_TRACK_TEXT_OVERLAY))
#define GES_IS_TRACK_TEXT_OVERLAY_CLASS(klass) \
(G_TYPE_CHECK_CLASS_TYPE ((klass), GES_TYPE_TRACK_TEXT_OVERLAY))
#define GES_TRACK_TEXT_OVERLAY_GET_CLASS(obj) \
(G_TYPE_INSTANCE_GET_CLASS ((obj), GES_TYPE_TRACK_TEXT_OVERLAY, GESTrackTextOverlayClass))
typedef struct _GESTrackTextOverlayPrivate GESTrackTextOverlayPrivate;
/**
* GESTrackTextOverlay:
*/
struct _GESTrackTextOverlay {
struct _GESTrackTextOverlay
{
GESTrackOperation parent;
/*< private >*/
/*< private > */
GESTrackTextOverlayPrivate *priv;
/* Padding for API extension */
gpointer _ges_reserved[GES_PADDING];
};
struct _GESTrackTextOverlayClass {
struct _GESTrackTextOverlayClass
{
GESTrackOperationClass parent_class;
/*< private >*/
/*< private > */
/* Padding for API extension */
gpointer _ges_reserved[GES_PADDING];
......@@ -71,27 +66,28 @@ struct _GESTrackTextOverlayClass {
GType ges_track_text_overlay_get_type (void);
void ges_track_text_overlay_set_text(GESTrackTextOverlay *self,
const gchar *text);
void ges_track_text_overlay_set_font_desc(GESTrackTextOverlay *self,
const gchar *font_desc);
void ges_track_text_overlay_set_text (GESTrackTextOverlay * self,
const gchar * text);
void ges_track_text_overlay_set_font_desc (GESTrackTextOverlay * self,
const gchar * font_desc);
void ges_track_text_overlay_set_halignment(GESTrackTextOverlay *self,
GESTextHAlign halign);
void ges_track_text_overlay_set_halignment (GESTrackTextOverlay * self,
GESTextHAlign halign);
void ges_track_text_overlay_set_valignment(GESTrackTextOverlay *self,
GESTextVAlign valign);
void ges_track_text_overlay_set_color(GESTrackTextOverlay *self,
guint32 color);
void ges_track_text_overlay_set_valignment (GESTrackTextOverlay * self,
GESTextVAlign valign);
void ges_track_text_overlay_set_color (GESTrackTextOverlay * self,
guint32 color);
const gchar *ges_track_text_overlay_get_text(GESTrackTextOverlay *self);
const char *ges_track_text_overlay_get_font_desc(GESTrackTextOverlay *self);
GESTextHAlign ges_track_text_overlay_get_halignment(GESTrackTextOverlay *self);
GESTextVAlign ges_track_text_overlay_get_valignment(GESTrackTextOverlay *self);
const guint32 ges_track_text_overlay_get_color (GESTrackTextOverlay *self);
const gchar *ges_track_text_overlay_get_text (GESTrackTextOverlay * self);
const char *ges_track_text_overlay_get_font_desc (GESTrackTextOverlay * self);
GESTextHAlign ges_track_text_overlay_get_halignment (GESTrackTextOverlay *
self);
GESTextVAlign ges_track_text_overlay_get_valignment (GESTrackTextOverlay *
self);
const guint32 ges_track_text_overlay_get_color (GESTrackTextOverlay * self);
GESTrackTextOverlay* ges_track_text_overlay_new (void);
GESTrackTextOverlay *ges_track_text_overlay_new (void);
G_END_DECLS
#endif /* _GES_TRACK_TEXT_OVERLAY */
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment