summaryrefslogtreecommitdiff
path: root/backends/pulse/pulse-sink-input.c
diff options
context:
space:
mode:
authorMichal Ratajsky <[email protected]>2014-07-20 10:35:28 +0200
committerMichal Ratajsky <[email protected]>2014-07-20 10:35:28 +0200
commit32049d16801b8c0b53448eba4b41df8765a94f84 (patch)
tree6a232dfd4c472aebb79af722cf61855086f56dfb /backends/pulse/pulse-sink-input.c
parentc965e0de05231c7da6c11d5cc1a8d97b6d156f1b (diff)
downloadlibmatemixer-32049d16801b8c0b53448eba4b41df8765a94f84.tar.bz2
libmatemixer-32049d16801b8c0b53448eba4b41df8765a94f84.tar.xz
Fix setting ext-stream parent and generalize it in PulseClientStream
Diffstat (limited to 'backends/pulse/pulse-sink-input.c')
-rw-r--r--backends/pulse/pulse-sink-input.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/backends/pulse/pulse-sink-input.c b/backends/pulse/pulse-sink-input.c
index 54cd3b3..1d5f9c2 100644
--- a/backends/pulse/pulse-sink-input.c
+++ b/backends/pulse/pulse-sink-input.c
@@ -253,12 +253,6 @@ pulse_sink_input_set_parent (PulseClientStream *pclient, PulseStream *parent)
g_return_val_if_fail (PULSE_IS_SINK_INPUT (pclient), FALSE);
- if (!PULSE_IS_SINK (parent)) {
- g_warning ("Could not change stream parent to %s: not a parent output stream",
- mate_mixer_stream_get_name (MATE_MIXER_STREAM (parent)));
- return FALSE;
- }
-
pstream = PULSE_STREAM (pclient);
return pulse_connection_move_sink_input (pulse_stream_get_connection (pstream),