summaryrefslogtreecommitdiff
path: root/ext/gtk
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gtk')
-rw-r--r--ext/gtk/gstgtkglsink.c4
-rw-r--r--ext/gtk/gstgtksink.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/ext/gtk/gstgtkglsink.c b/ext/gtk/gstgtkglsink.c
index 4d41f1a20..f17a88e37 100644
--- a/ext/gtk/gstgtkglsink.c
+++ b/ext/gtk/gstgtkglsink.c
@@ -80,8 +80,8 @@ gst_gtk_gl_sink_class_init (GstGtkGLSinkClass * 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_gl_sink_template));
+ gst_element_class_add_static_pad_template (gstelement_class,
+ &gst_gtk_gl_sink_template);
}
static void
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