summaryrefslogtreecommitdiff
path: root/gst/debugutils/gstnavigationtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/debugutils/gstnavigationtest.c')
-rw-r--r--gst/debugutils/gstnavigationtest.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gst/debugutils/gstnavigationtest.c b/gst/debugutils/gstnavigationtest.c
index dfa00c6..6f6daea 100644
--- a/gst/debugutils/gstnavigationtest.c
+++ b/gst/debugutils/gstnavigationtest.c
@@ -271,10 +271,10 @@ gst_navigationtest_base_init (gpointer g_class)
"Handle navigation events showing a black square following mouse pointer",
"David Schleef <ds@schleef.org>");
- gst_element_class_add_pad_template (element_class,
- gst_static_pad_template_get (&gst_navigationtest_sink_template));
- gst_element_class_add_pad_template (element_class,
- gst_static_pad_template_get (&gst_navigationtest_src_template));
+ gst_element_class_add_static_pad_template (element_class,
+ &gst_navigationtest_sink_template);
+ gst_element_class_add_static_pad_template (element_class,
+ &gst_navigationtest_src_template);
}
static void