From 5acffea623eaa95469a8fb77260c85240c6c0a41 Mon Sep 17 00:00:00 2001 From: Johan Dahlin Date: Mon, 15 Mar 2004 16:32:54 +0000 Subject: *.h: Revert indenting Original commit message from CVS: * *.h: Revert indenting --- ext/libcaca/gstcacasink.h | 60 ++++++++++++++++++++++------------------------- 1 file changed, 28 insertions(+), 32 deletions(-) (limited to 'ext/libcaca') diff --git a/ext/libcaca/gstcacasink.h b/ext/libcaca/gstcacasink.h index 2080c284..3a6d4f23 100644 --- a/ext/libcaca/gstcacasink.h +++ b/ext/libcaca/gstcacasink.h @@ -28,9 +28,8 @@ #include #ifdef __cplusplus -extern "C" -{ -#endif /* __cplusplus */ +extern "C" { +#endif /* __cplusplus */ #define GST_CACA_DEFAULT_SCREEN_WIDTH 80 #define GST_CACA_DEFAULT_SCREEN_HEIGHT 25 @@ -54,47 +53,44 @@ extern "C" #define GST_IS_CACASINK_CLASS(obj) \ (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_CACASINK)) - typedef enum - { - GST_CACASINK_OPEN = GST_ELEMENT_FLAG_LAST, +typedef enum { + GST_CACASINK_OPEN = GST_ELEMENT_FLAG_LAST, - GST_CACASINK_FLAG_LAST = GST_ELEMENT_FLAG_LAST + 2, - } GstCACASinkFlags; + GST_CACASINK_FLAG_LAST = GST_ELEMENT_FLAG_LAST + 2, +} GstCACASinkFlags; - typedef struct _GstCACASink GstCACASink; - typedef struct _GstCACASinkClass GstCACASinkClass; +typedef struct _GstCACASink GstCACASink; +typedef struct _GstCACASinkClass GstCACASinkClass; - struct _GstCACASink - { - GstVideoSink videosink; +struct _GstCACASink { + GstVideoSink videosink; - GstPad *sinkpad; + GstPad *sinkpad; - gulong format; - gint screen_width, screen_height; - guint bpp; - guint dither; - gboolean antialiasing; - guint red_mask, green_mask, blue_mask; + gulong format; + gint screen_width, screen_height; + guint bpp; + guint dither; + gboolean antialiasing; + guint red_mask, green_mask, blue_mask; - gint64 correction; - GstClockID id; + gint64 correction; + GstClockID id; - struct caca_bitmap *bitmap; - }; + struct caca_bitmap *bitmap; +}; - struct _GstCACASinkClass - { - GstVideoSinkClass parent_class; +struct _GstCACASinkClass { + GstVideoSinkClass parent_class; - /* signals */ - }; + /* signals */ +}; - GType gst_cacasink_get_type (void); +GType gst_cacasink_get_type(void); #ifdef __cplusplus } -#endif /* __cplusplus */ +#endif /* __cplusplus */ -#endif /* __GST_CACASINKE_H__ */ +#endif /* __GST_CACASINKE_H__ */ -- cgit