[calls] sip: call: Remove unnecessary G_OBJECT() cast
- From: Evangelos Ribeiro Tzaras <devrtz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [calls] sip: call: Remove unnecessary G_OBJECT() cast
- Date: Wed, 2 Mar 2022 07:27:13 +0000 (UTC)
commit 2d4c3f9b4385340f69ae2be10f525f143796d6e0
Author: Evangelos Ribeiro Tzaras <devrtz fortysixandtwo eu>
Date: Mon Feb 28 19:11:16 2022 +0100
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 8bcd5740..9740e03f 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]