summaryrefslogtreecommitdiff
path: root/ext/gtk/gstgtksink.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gtk/gstgtksink.c')
-rw-r--r--ext/gtk/gstgtksink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/gtk/gstgtksink.c b/ext/gtk/gstgtksink.c
index 465922164..083c28dc0 100644
--- a/ext/gtk/gstgtksink.c
+++ b/ext/gtk/gstgtksink.c
@@ -62,8 +62,8 @@ gst_gtk_sink_class_init (GstGtkSinkClass * klass)
"Sink/Video", "A video sink that renders to a GtkWidget",
"Matthew Waters <matthew@centricular.com>");
- gst_element_class_add_pad_template (gstelement_class,
- gst_static_pad_template_get (&gst_gtk_sink_template));
+ gst_element_class_add_static_pad_template (gstelement_class,
+ &gst_gtk_sink_template);
}
static void