webrtcbin: Remove unused function
authorOlivier Crête <olivier.crete@collabora.com>
Thu, 9 Jul 2020 17:45:20 +0000 (13:45 -0400)
committerOlivier Crête <olivier.crete@collabora.com>
Tue, 6 Oct 2020 20:49:08 +0000 (16:49 -0400)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1425>

ext/webrtc/gstwebrtcbin.c

index b054a72..79b79d6 100644 (file)
@@ -200,17 +200,6 @@ _have_dtls_elements (GstWebRTCBin * webrtc)
 G_DEFINE_TYPE (GstWebRTCBinPad, gst_webrtc_bin_pad, GST_TYPE_GHOST_PAD);
 
 static void
-gst_webrtc_bin_pad_set_property (GObject * object, guint prop_id,
-    const GValue * value, GParamSpec * pspec)
-{
-  switch (prop_id) {
-    default:
-      G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
-      break;
-  }
-}
-
-static void
 gst_webrtc_bin_pad_get_property (GObject * object, guint prop_id,
     GValue * value, GParamSpec * pspec)
 {
@@ -248,7 +237,6 @@ gst_webrtc_bin_pad_class_init (GstWebRTCBinPadClass * klass)
   GObjectClass *gobject_class = (GObjectClass *) klass;
 
   gobject_class->get_property = gst_webrtc_bin_pad_get_property;
-  gobject_class->set_property = gst_webrtc_bin_pad_set_property;
   gobject_class->finalize = gst_webrtc_bin_pad_finalize;
 
   g_object_class_install_property (gobject_class,