summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberts Muktupāvels <alberts.muktupavels@gmail.com>2022-03-19 14:16:27 +0200
committerAlberts Muktupāvels <alberts.muktupavels@gmail.com>2022-03-19 14:16:27 +0200
commit277335110789563770af38b2a7ae41736bd9c7a4 (patch)
tree087150f54483e17b831a6e40a8df4eb6424f7976
parentfe84233353f440890ebc4556c6d22f0789c67933 (diff)
downloadlibgnome-volume-control-wip/muktupavels/mixer-control-warning.tar.gz
mixer-control: remove unneeded castwip/muktupavels/mixer-control-warning
Stream id was changed to unsigned int in b7bce3294492.
-rw-r--r--gvc-mixer-control.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gvc-mixer-control.c b/gvc-mixer-control.c
index 456e6f6..8f48f29 100644
--- a/gvc-mixer-control.c
+++ b/gvc-mixer-control.c
@@ -1276,7 +1276,7 @@ match_stream_with_devices (GvcMixerControl *control,
stream_id);
g_object_set (G_OBJECT (device),
- "stream-id", (gint)stream_id,
+ "stream-id", stream_id,
NULL);
in_possession = TRUE;
}
@@ -1366,7 +1366,7 @@ sync_devices (GvcMixerControl *control,
}
g_object_set (G_OBJECT (device),
- "stream-id", (gint)gvc_mixer_stream_get_id (stream),
+ "stream-id", gvc_mixer_stream_get_id (stream),
"description", gvc_mixer_stream_get_description (stream),
"origin", "", /*Leave it empty for these special cases*/
"port-name", NULL,
@@ -1376,7 +1376,7 @@ sync_devices (GvcMixerControl *control,
GObject *object;
object = g_object_new (GVC_TYPE_MIXER_UI_DEVICE,
- "stream-id", (gint)gvc_mixer_stream_get_id (stream),
+ "stream-id", gvc_mixer_stream_get_id (stream),
"description", gvc_mixer_stream_get_description (stream),
"origin", "", /* Leave it empty for these special cases */
"port-name", NULL,