diff options
author | Peter Meerwald <p.meerwald@bct-electronic.com> | 2012-04-06 11:44:57 +0200 |
---|---|---|
committer | Tanu Kaskinen <tanuk@iki.fi> | 2012-04-17 18:14:27 +0300 |
commit | 0033509019645b60f1bbd78e114c75c95719d110 (patch) | |
tree | 46f1e1ad9999e07e97119327c88c182b1811695d | |
parent | e1d551f36424a8447348a8cd6f90debaa7baec7a (diff) |
dbus: Fix dbus argument type in iface-stream.c handle_move().
BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=48376
Signed-off-by: Peter Meerwald <p.meerwald@bct-electronic.com>
-rw-r--r-- | src/modules/dbus/iface-stream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/dbus/iface-stream.c b/src/modules/dbus/iface-stream.c index ecd0ff31..c6dc1c96 100644 --- a/src/modules/dbus/iface-stream.c +++ b/src/modules/dbus/iface-stream.c @@ -611,7 +611,7 @@ static void handle_move(DBusConnection *conn, DBusMessage *msg, void *userdata) pa_assert(msg); pa_assert(s); - pa_assert_se(dbus_message_get_args(msg, NULL, DBUS_TYPE_STRING, &device, DBUS_TYPE_INVALID)); + pa_assert_se(dbus_message_get_args(msg, NULL, DBUS_TYPE_OBJECT_PATH, &device, DBUS_TYPE_INVALID)); if (s->type == STREAM_TYPE_PLAYBACK) { pa_sink *sink = pa_dbusiface_core_get_sink(s->core, device); |