From 86316a4d297034949bf876f4b1a93a65fb878e0b Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Sat, 26 May 2001 16:33:02 +0000 Subject: [PATCH] Fixed a bug in the typecast macros for padtemplates. Original commit message from CVS: Fixed a bug in the typecast macros for padtemplates. --- gst/gstpad.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/gstpad.h b/gst/gstpad.h index c5d7224529..dc75cd3cee 100644 --- a/gst/gstpad.h +++ b/gst/gstpad.h @@ -230,8 +230,8 @@ struct _GstGhostPadClass { /***** PadTemplate *****/ #define GST_TYPE_PADTEMPLATE (gst_padtemplate_get_type ()) -#define GST_PADTEMPLATE(obj) (GTK_CHECK_CAST ((obj), GST_TYPE_PADTEMPLATE,GstPad)) -#define GST_PADTEMPLATE_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GST_TYPE_PADTEMPLATE,GstPadClass)) +#define GST_PADTEMPLATE(obj) (GTK_CHECK_CAST ((obj), GST_TYPE_PADTEMPLATE,GstPadTemplate)) +#define GST_PADTEMPLATE_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GST_TYPE_PADTEMPLATE,GstPadTemplateClass)) #define GST_IS_PADTEMPLATE(obj) (GTK_CHECK_TYPE ((obj), GST_TYPE_PADTEMPLATE)) #define GST_IS_PADTEMPLATE_CLASS(obj) (GTK_CHECK_CLASS_TYPE ((klass), GST_TYPE_PADTEMPLATE))