From 24dd91b1f01a7cd3b63bc6bbc1e3230471b6e939 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 11 May 2009 18:29:34 +0200 Subject: [PATCH] interfaces: Seperate some more struct definitions from typedefs --- gst-libs/gst/interfaces/tunernorm.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/gst-libs/gst/interfaces/tunernorm.h b/gst-libs/gst/interfaces/tunernorm.h index f306f1a9be..d93cb13cc9 100644 --- a/gst-libs/gst/interfaces/tunernorm.h +++ b/gst-libs/gst/interfaces/tunernorm.h @@ -37,25 +37,28 @@ G_BEGIN_DECLS #define GST_IS_TUNER_NORM_CLASS(klass) \ (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_TUNER_NORM)) +typedef struct _GstTunerNorm GstTunerNorm; +typedef struct _GstTunerNormClass GstTunerNormClass; + /** * GstTunerNorm: * @label: A string containing a descriptive name for the norm * @framerate: A GValue containing the framerate associated with this norm, * if any. (May be unset). */ -typedef struct _GstTunerNorm { +struct _GstTunerNorm { GObject parent; /*< public >*/ gchar *label; GValue framerate; -} GstTunerNorm; +}; -typedef struct _GstTunerNormClass { +struct _GstTunerNormClass { GObjectClass parent; gpointer _gst_reserved[GST_PADDING]; -} GstTunerNormClass; +}; GType gst_tuner_norm_get_type (void);