summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2013-07-17 19:32:09 -0400
committerOlivier CrĂȘte <olivier.crete@collabora.com>2013-07-17 19:32:09 -0400
commit91a32754e351ca05b0bf7bb4499dbfd6adf50007 (patch)
tree6de140f725af5375a8f95d7085fcc4adce5e65e9
parent81745b43b43a49a8783081ffd54446d34ddf1550 (diff)
permissions: Make it build
-rw-r--r--gst/rtsp-server/rtsp-permissions.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/gst/rtsp-server/rtsp-permissions.c b/gst/rtsp-server/rtsp-permissions.c
index c8b35d0..407d21f 100644
--- a/gst/rtsp-server/rtsp-permissions.c
+++ b/gst/rtsp-server/rtsp-permissions.c
@@ -61,8 +61,7 @@ free_structure (GstStructure * structure)
GST_DEFINE_MINI_OBJECT_TYPE (GstRTSPPermissions, gst_rtsp_permissions);
-static void gst_rtsp_permissions_init (GstRTSPPermissionsImpl * permissions,
- GstStructure * structure);
+static void gst_rtsp_permissions_init (GstRTSPPermissionsImpl * permissions);
static void
_gst_rtsp_permissions_free (GstRTSPPermissions * permissions)
@@ -78,17 +77,15 @@ static GstRTSPPermissions *
_gst_rtsp_permissions_copy (GstRTSPPermissionsImpl * permissions)
{
GstRTSPPermissionsImpl *copy;
- GstStructure *structure;
copy = g_slice_new0 (GstRTSPPermissionsImpl);
- gst_rtsp_permissions_init (copy, structure);
+ gst_rtsp_permissions_init (copy);
return GST_RTSP_PERMISSIONS (copy);
}
static void
-gst_rtsp_permissions_init (GstRTSPPermissionsImpl * permissions,
- GstStructure * structure)
+gst_rtsp_permissions_init (GstRTSPPermissionsImpl * permissions)
{
gst_mini_object_init (GST_MINI_OBJECT_CAST (permissions), 0,
GST_TYPE_RTSP_PERMISSIONS,
@@ -112,9 +109,7 @@ gst_rtsp_permissions_new (void)
GstRTSPPermissionsImpl *permissions;
permissions = g_slice_new0 (GstRTSPPermissionsImpl);
-
- gst_rtsp_permissions_init (permissions,
- gst_structure_new_empty ("GstRTSPPermissions"));
+ gst_rtsp_permissions_init (permissions);
return GST_RTSP_PERMISSIONS (permissions);
}