From 2d4c3f9b4385340f69ae2be10f525f143796d6e0 Mon Sep 17 00:00:00 2001 From: Evangelos Ribeiro Tzaras Date: Mon, 28 Feb 2022 19:11:16 +0100 Subject: [PATCH] sip: call: Remove unnecessary G_OBJECT() cast g_object_set() takes a gpointer as argument, so there is no need to cast the argument using G_OBJECT() --- plugins/sip/calls-sip-call.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/sip/calls-sip-call.c b/plugins/sip/calls-sip-call.c index 8bcd574..9740e03 100644 --- a/plugins/sip/calls-sip-call.c +++ b/plugins/sip/calls-sip-call.c @@ -110,7 +110,7 @@ try_setting_up_media_pipeline (CallsSipCall *self) g_debug ("Setting remote ports: RTP/RTCP %u/%u", self->rport_rtp, self->rport_rtcp); - g_object_set (G_OBJECT (self->pipeline), + g_object_set (self->pipeline, "remote", self->remote, "rport-rtp", self->rport_rtp, "rport-rtcp", self->rport_rtcp,