summaryrefslogtreecommitdiffstats
path: root/gst-libs/gst/navigation/navigation.h
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2003-10-29 05:12:18 +0000
committerDavid Schleef <ds@schleef.org>2003-10-29 05:12:18 +0000
commit235e1a5df9d8344633be57b9fea365f4952a3d04 (patch)
tree571d66010ae815f103a7572ba62137269ccfbaf5 /gst-libs/gst/navigation/navigation.h
parent377610829307e73ef6f63e8e21b6ac1ce86135f1 (diff)
downloadgst-plugins-bad-235e1a5df9d8344633be57b9fea365f4952a3d04.tar.gz
gst-plugins-bad-235e1a5df9d8344633be57b9fea365f4952a3d04.tar.bz2
gst-plugins-bad-235e1a5df9d8344633be57b9fea365f4952a3d04.zip
Change Class to Iface. Fix casting macros.
Original commit message from CVS: Change Class to Iface. Fix casting macros.
Diffstat (limited to 'gst-libs/gst/navigation/navigation.h')
-rw-r--r--gst-libs/gst/navigation/navigation.h18
1 files changed, 7 insertions, 11 deletions
diff --git a/gst-libs/gst/navigation/navigation.h b/gst-libs/gst/navigation/navigation.h
index 6efe8a7e..32eeaa32 100644
--- a/gst-libs/gst/navigation/navigation.h
+++ b/gst-libs/gst/navigation/navigation.h
@@ -30,26 +30,22 @@ G_BEGIN_DECLS
#define GST_TYPE_NAVIGATION \
(gst_navigation_get_type ())
#define GST_NAVIGATION(obj) \
- (G_INTERFACE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_NAVIGATION, GstNavigation))
-#define GST_NAVIGATION_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_NAVIGATION, GstNavigationClass))
+ (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_NAVIGATION, GstNavigation))
#define GST_IS_NAVIGATION(obj) \
- (G_INTERFACE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_NAVIGATION))
-#define GST_IS_NAVIGATION_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_NAVIGATION))
-#define GST_NAVIGATION_GET_CLASS(inst) \
- (G_TYPE_INSTANCE_GET_INTERFACE ((inst), GST_TYPE_NAVIGATION, GstNavigationClass))
+ (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_NAVIGATION))
+#define GST_NAVIGATION_GET_IFACE(obj) \
+ (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GST_TYPE_NAVIGATION, GstNavigationIface))
typedef struct _GstNavigation GstNavigation;
-typedef struct _GstNavigationClass {
- GTypeInterface klass;
+typedef struct _GstNavigationIface {
+ GTypeInterface g_iface;
/* virtual functions */
void (*send_event) (GstNavigation *navigation, GstCaps *caps);
GST_CLASS_PADDING
-} GstNavigationClass;
+} GstNavigationIface;
GType gst_navigation_get_type (void);