ext/bz2/: No need to init parent_class, the boilerplate does it for you.

Original commit message from CVS:
2006-02-06  Andy Wingo  <wingo@pobox.com>

* ext/bz2/gstbz2enc.c (gst_bz2enc_class_init):
* ext/bz2/gstbz2dec.c (gst_bz2dec_class_init): No need to init
parent_class, the boilerplate does it for you.
This commit is contained in:
Andy Wingo 2006-02-06 09:54:55 +00:00
parent 024ed9899d
commit 940f559c09
3 changed files with 6 additions and 4 deletions

View file

@ -1,3 +1,9 @@
2006-02-06 Andy Wingo <wingo@pobox.com>
* ext/bz2/gstbz2enc.c (gst_bz2enc_class_init):
* ext/bz2/gstbz2dec.c (gst_bz2dec_class_init): No need to init
parent_class, the boilerplate does it for you.
2006-02-05 Lutz Mueller <lutz@topfrose.de> 2006-02-05 Lutz Mueller <lutz@topfrose.de>
reviewed by: Andy Wingo <wingo@pobox.com> reviewed by: Andy Wingo <wingo@pobox.com>

View file

@ -225,8 +225,6 @@ gst_bz2dec_class_init (GstBz2decClass * klass)
{ {
GObjectClass *gobject_class = G_OBJECT_CLASS (klass); GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
gobject_class->finalize = gst_bz2dec_finalize; gobject_class->finalize = gst_bz2dec_finalize;
gobject_class->get_property = gst_bz2dec_get_property; gobject_class->get_property = gst_bz2dec_get_property;
gobject_class->set_property = gst_bz2dec_set_property; gobject_class->set_property = gst_bz2dec_set_property;

View file

@ -288,8 +288,6 @@ gst_bz2enc_class_init (GstBz2encClass * klass)
{ {
GObjectClass *gobject_class = G_OBJECT_CLASS (klass); GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
gobject_class->finalize = gst_bz2enc_finalize; gobject_class->finalize = gst_bz2enc_finalize;
gobject_class->set_property = gst_bz2enc_set_property; gobject_class->set_property = gst_bz2enc_set_property;
gobject_class->get_property = gst_bz2enc_get_property; gobject_class->get_property = gst_bz2enc_get_property;