mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
pwg: remove some GST_BOILERPLATE
This commit is contained in:
parent
3009f73b14
commit
f32c9d8572
2 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
||||
[..]
|
||||
|
||||
|
|
Loading…
Reference in a new issue