diff options
Diffstat (limited to 'tests/check/gst/gstparamspecs.c')
-rw-r--r-- | tests/check/gst/gstparamspecs.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/tests/check/gst/gstparamspecs.c b/tests/check/gst/gstparamspecs.c index 545bce5a5..c6d3024b7 100644 --- a/tests/check/gst/gstparamspecs.c +++ b/tests/check/gst/gstparamspecs.c @@ -33,7 +33,7 @@ typedef struct typedef GstElementClass GstDummyObjClass; GType gst_dummy_obj_get_type (void); -GST_BOILERPLATE (GstDummyObj, gst_dummy_obj, GstElement, GST_TYPE_ELEMENT); +G_DEFINE_TYPE (GstDummyObj, gst_dummy_obj, GST_TYPE_ELEMENT); static void gst_dummy_obj_get_property (GObject * obj, guint prop_id, GValue * val, @@ -43,11 +43,6 @@ gst_dummy_obj_set_property (GObject * obj, guint prop_id, const GValue * val, GParamSpec * pspec); static void -gst_dummy_obj_base_init (gpointer g_class) -{ -} - -static void gst_dummy_obj_class_init (GstDummyObjClass * klass) { GObjectClass *gobject_class = G_OBJECT_CLASS (klass); @@ -71,7 +66,7 @@ gst_dummy_obj_class_init (GstDummyObjClass * klass) } static void -gst_dummy_obj_init (GstDummyObj * obj, GstDummyObjClass * klass) +gst_dummy_obj_init (GstDummyObj * obj) { /* nothing to do there */ } |