From fe5de84c0db9e7108000fe1b7a7136528b8f27d9 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Mon, 15 Dec 2008 17:17:22 +0200 Subject: Revert previous change to g_timeout_add_seconds These timeouts really need to be sub-second so g_timeout_add_seconds can't be used. --- audio/a2dp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'audio') diff --git a/audio/a2dp.c b/audio/a2dp.c index 454a8426..af0cfe4d 100644 --- a/audio/a2dp.c +++ b/audio/a2dp.c @@ -799,8 +799,7 @@ static void close_cfm(struct avdtp *session, struct avdtp_local_sep *sep, } if (setup->reconfigure) - g_timeout_add_seconds(RECONFIGURE_TIMEOUT, - a2dp_reconfigure, setup); + g_timeout_add(RECONFIGURE_TIMEOUT, a2dp_reconfigure, setup); } static gboolean abort_ind(struct avdtp *session, struct avdtp_local_sep *sep, -- cgit