From c745baedbba6fbf0c304ed83cc4ec5c4092aa84d Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Sat, 8 Apr 2006 19:04:01 +0000 Subject: gst/: Fix more broken GObject macros Original commit message from CVS: * gst/colorspace/gstcolorspace.h: * gst/deinterlace/gstdeinterlace.h: * gst/passthrough/gstpassthrough.h: * gst/y4m/gsty4mencode.h: Fix more broken GObject macros --- gst/deinterlace/gstdeinterlace.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'gst/deinterlace/gstdeinterlace.h') diff --git a/gst/deinterlace/gstdeinterlace.h b/gst/deinterlace/gstdeinterlace.h index 27207319..fc269af9 100644 --- a/gst/deinterlace/gstdeinterlace.h +++ b/gst/deinterlace/gstdeinterlace.h @@ -32,10 +32,12 @@ G_BEGIN_DECLS #define GST_DEINTERLACE(obj) \ (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_DEINTERLACE,GstDeInterlace)) #define GST_DEINTERLACE_CLASS(klass) \ - (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_ULAW,GstDeInterlace)) + (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_DEINTERLACE,GstDeInterlaceClass)) +#define GST_DEINTERLACE_GET_CLASS(obj) \ + (G_TYPE_INSTANCE_GET_CLASS((obj),GST_TYPE_DEINTERLACE,GstDeInterlaceClass)) #define GST_IS_DEINTERLACE(obj) \ (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_DEINTERLACE)) -#define GST_IS_DEINTERLACE_CLASS(obj) \ +#define GST_IS_DEINTERLACE_CLASS(klass) \ (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_DEINTERLACE)) typedef struct _GstDeInterlace GstDeInterlace; -- cgit v1.2.1