[MOVED FROM BAD 24/68] gst/: Fix more broken GObject macros
authorStefan Kost <ensonic@users.sourceforge.net>
Sat, 8 Apr 2006 19:04:01 +0000 (19:04 +0000)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 15 Jun 2011 14:12:53 +0000 (16:12 +0200)
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/colorspace/gstcolorspace.h

index 22e2f7ec9d03783304720a3d32a98b776e8ebb60..d935d7cb93c71630b4a3c62c08367ab43f5c39c0 100644 (file)
@@ -29,7 +29,9 @@ G_BEGIN_DECLS
 #define GST_COLORSPACE(obj) \
   (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_COLORSPACE,GstColorspace))
 #define GST_COLORSPACE_CLASS(klass) \
-  (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_ULAW,GstColorspace))
+  (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_COLORSPACE,GstColorspaceClass))
+#define GST_COLORSPACE_GET_CLASS(obj) \
+  (G_TYPE_INSTANCE_GET_CLASS((obj),GST_TYPE_COLORSPACE,GstColorspaceClass))
 #define GST_IS_COLORSPACE(obj) \
   (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_COLORSPACE))
 #define GST_IS_COLORSPACE_CLASS(obj) \