From 8a6c78658e15a7415e65bb14aff0b2005a94e743 Mon Sep 17 00:00:00 2001 From: Tim-Philipp Müller Date: Mon, 12 Dec 2005 10:30:20 +0000 Subject: gst/auparse/gstauparse.*: Use gst_object_unref() for GstObjects instead of g_object_unref() and fix a mem leak in a d... Original commit message from CVS: * gst/auparse/gstauparse.c: (gst_au_parse_base_init), (gst_au_parse_class_init), (gst_au_parse_init), (gst_au_parse_dispose), (gst_au_parse_chain), (gst_au_parse_change_state), (plugin_init): * gst/auparse/gstauparse.h: Use gst_object_unref() for GstObjects instead of g_object_unref() and fix a mem leak in a debug statement; while we're at it, also borgify, use boilerplate macros and clean up a little bit. --- gst/auparse/gstauparse.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'gst/auparse/gstauparse.h') diff --git a/gst/auparse/gstauparse.h b/gst/auparse/gstauparse.h index 02fba26c..d38369ba 100644 --- a/gst/auparse/gstauparse.h +++ b/gst/auparse/gstauparse.h @@ -28,16 +28,16 @@ G_BEGIN_DECLS -#define GST_TYPE_AUPARSE \ - (gst_auparse_get_type()) -#define GST_AUPARSE(obj) \ - (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_AUPARSE,GstAuParse)) -#define GST_AUPARSE_CLASS(klass) \ - (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_AUPARSE,GstAuParse)) -#define GST_IS_AUPARSE(obj) \ - (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_AUPARSE)) -#define GST_IS_AUPARSE_CLASS(obj) \ - (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_AUPARSE)) +#define GST_TYPE_AU_PARSE \ + (gst_au_parse_get_type()) +#define GST_AU_PARSE(obj) \ + (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_AU_PARSE,GstAuParse)) +#define GST_AU_PARSE_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_AU_PARSE,GstAuParse)) +#define GST_IS_AU_PARSE(obj) \ + (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_AU_PARSE)) +#define GST_IS_AU_PARSE_CLASS(obj) \ + (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_AU_PARSE)) typedef struct _GstAuParse GstAuParse; typedef struct _GstAuParseClass GstAuParseClass; @@ -64,7 +64,7 @@ struct _GstAuParseClass { GstElementClass parent_class; }; -GType gst_auparse_get_type (void); +GType gst_au_parse_get_type (void); G_END_DECLS -- cgit