tests: dash: don't use deprecated g_object_newv()

This commit is contained in:
Tim-Philipp Müller 2017-04-08 10:08:04 +01:00
parent 4d63aee36c
commit 36edda5797
2 changed files with 2 additions and 2 deletions

View file

@ -119,7 +119,7 @@ gst_adaptive_demux_test_case_finalize (GObject * object)
GstAdaptiveDemuxTestCase *
gst_adaptive_demux_test_case_new (void)
{
return g_object_newv (GST_TYPE_ADAPTIVE_DEMUX_TEST_CASE, 0, NULL);
return g_object_new (GST_TYPE_ADAPTIVE_DEMUX_TEST_CASE, NULL);
}

View file

@ -75,7 +75,7 @@ gst_dash_demux_test_case_new (void)
static GstDashDemuxTestCase *gst_dash_demux_test_case_new (void)
{
return g_object_newv (GST_TYPE_DASH_DEMUX_TEST_CASE, 0, NULL);
return g_object_new (GST_TYPE_DASH_DEMUX_TEST_CASE, NULL);
}
typedef struct _GstDashDemuxTestCaseClass