From 1f57429a07bbe7021889d9cfad6f4aa270d1d2c2 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Mon, 4 Aug 2008 21:39:10 +0200 Subject: Move error_failed to its usage places --- audio/sink.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'audio/sink.c') diff --git a/audio/sink.c b/audio/sink.c index f3b7c55f..c6d2dc48 100644 --- a/audio/sink.c +++ b/audio/sink.c @@ -136,6 +136,12 @@ static void stream_state_changed(struct avdtp_stream *stream, sink->state = new_state; } +static DBusHandlerResult error_failed(DBusConnection *conn, + DBusMessage *msg, const char * desc) +{ + return error_common_reply(conn, msg, ERROR_INTERFACE ".Failed", desc); +} + static gboolean stream_setup_retry(gpointer user_data) { struct sink *sink = user_data; -- cgit