From e05741404998b066e29ebee9f74b84171c7432e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 11 May 2009 15:48:56 +0200 Subject: [PATCH] interfaces: Seperate some more struct definitions from typedefs --- gst-libs/gst/interfaces/navigation.h | 5 +++-- gst-libs/gst/interfaces/videoorientation.h | 5 +++-- gst-libs/gst/interfaces/xoverlay.h | 5 +++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/gst-libs/gst/interfaces/navigation.h b/gst-libs/gst/interfaces/navigation.h index 33bf4629d9..cf7f7b9778 100644 --- a/gst-libs/gst/interfaces/navigation.h +++ b/gst-libs/gst/interfaces/navigation.h @@ -37,15 +37,16 @@ G_BEGIN_DECLS (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GST_TYPE_NAVIGATION, GstNavigationInterface)) typedef struct _GstNavigation GstNavigation; +typedef struct _GstNavigationInterface GstNavigationInterface; -typedef struct _GstNavigationInterface { +struct _GstNavigationInterface { GTypeInterface g_iface; /* virtual functions */ void (*send_event) (GstNavigation *navigation, GstStructure *structure); gpointer _gst_reserved[GST_PADDING]; -} GstNavigationInterface; +}; GType gst_navigation_get_type (void); diff --git a/gst-libs/gst/interfaces/videoorientation.h b/gst-libs/gst/interfaces/videoorientation.h index 1b3b56eba6..c02d08b3f2 100644 --- a/gst-libs/gst/interfaces/videoorientation.h +++ b/gst-libs/gst/interfaces/videoorientation.h @@ -42,6 +42,7 @@ G_BEGIN_DECLS * Opaque #GstVideoOrientation data structure. */ typedef struct _GstVideoOrientation GstVideoOrientation; +typedef struct _GstVideoOrientationInterface GstVideoOrientationInterface; /** * GstVideoOrientationInterface: @@ -57,7 +58,7 @@ typedef struct _GstVideoOrientation GstVideoOrientation; * * #GstVideoOrientationInterface interface. */ -typedef struct _GstVideoOrientationInterface { +struct _GstVideoOrientationInterface { GTypeInterface parent; /* virtual functions */ @@ -73,7 +74,7 @@ typedef struct _GstVideoOrientationInterface { /*< private > */ gpointer _gst_reserved[GST_PADDING]; -} GstVideoOrientationInterface; +}; GType gst_video_orientation_get_type (void); diff --git a/gst-libs/gst/interfaces/xoverlay.h b/gst-libs/gst/interfaces/xoverlay.h index a5cbcfebcd..d6609a4f61 100644 --- a/gst-libs/gst/interfaces/xoverlay.h +++ b/gst-libs/gst/interfaces/xoverlay.h @@ -47,6 +47,7 @@ G_BEGIN_DECLS * Opaque #GstXOverlay data structure. */ typedef struct _GstXOverlay GstXOverlay; +typedef struct _GstXOverlayClass GstXOverlayClass; /** * GstXOverlayClass: @@ -57,7 +58,7 @@ typedef struct _GstXOverlay GstXOverlay; * * #GstXOverlay interface */ -typedef struct _GstXOverlayClass { +struct _GstXOverlayClass { GTypeInterface klass; /* virtual functions */ @@ -71,7 +72,7 @@ typedef struct _GstXOverlayClass { /*< private >*/ gpointer _gst_reserved[GST_PADDING - 1]; -} GstXOverlayClass; +}; GType gst_x_overlay_get_type (void);