pwg: remove some GST_BOILERPLATE

This commit is contained in:
Wim Taymans 2012-09-28 13:24:52 +02:00
parent 3009f73b14
commit f32c9d8572
2 changed files with 5 additions and 5 deletions

View file

@ -22,9 +22,9 @@
</para>
<programlisting><!-- example-begin properties.c a --><!--
#include "filter.h"
GST_BOILERPLATE (GstMyFilter, gst_my_filter, GstElement, GST_TYPE_ELEMENT);
G_DEFINE_TYPE (GstMyFilter, gst_my_filter, GST_TYPE_ELEMENT);
static void
gst_my_filter_base_init (gpointer klass)
gst_my_filter_class_init (gpointer klass)
{
}
static void

View file

@ -67,11 +67,11 @@
</itemizedlist>
<para>
Sink elements can derive from <classname>GstBaseSink</classname> using
the usual <classname>GObject</classname> type creation voodoo, or by
using the convenience macro <function>GST_BOILERPLATE ()</function>:
the usual <classname>GObject</classname> convenience macro
<function>G_DEFINE_TYPE ()</function>:
</para>
<programlisting>
GST_BOILERPLATE_FULL (GstMySink, gst_my_sink, GstBaseSink, GST_TYPE_BASE_SINK);
G_DEFINE_TYPE (GstMySink, gst_my_sink, GST_TYPE_BASE_SINK);
[..]