1 /* vim: set filetype=c: */
9 static void gst_replace_set_property (GObject * object,
10 guint property_id, const GValue * value, GParamSpec * pspec);
11 static void gst_replace_get_property (GObject * object,
12 guint property_id, GValue * value, GParamSpec * pspec);
13 static void gst_replace_dispose (GObject * object);
14 static void gst_replace_finalize (GObject * object);
17 GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
19 gobject_class->set_property = gst_replace_set_property;
20 gobject_class->get_property = gst_replace_get_property;
21 gobject_class->dispose = gst_replace_dispose;
22 gobject_class->finalize = gst_replace_finalize;
26 gst_replace_set_property (GObject * object, guint property_id,
27 const GValue * value, GParamSpec * pspec)
29 /* GstReplace *replace = GST_REPLACE (object); */
31 switch (property_id) {
33 G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
39 gst_replace_get_property (GObject * object, guint property_id,
40 GValue * value, GParamSpec * pspec)
42 /* GstReplace *replace = GST_REPLACE (object); */
44 switch (property_id) {
46 G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
52 gst_replace_dispose (GObject * object)
54 /* GstReplace *replace = GST_REPLACE (object); */
56 /* clean up as possible. may be called multiple times */
58 G_OBJECT_CLASS (parent_class)->dispose (object);
62 gst_replace_finalize (GObject * object)
64 /* GstReplace *replace = GST_REPLACE (object); */
66 /* clean up object here */
68 G_OBJECT_CLASS (parent_class)->finalize (object);