summaryrefslogtreecommitdiffstats
path: root/audio/a2dp.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-12-15 17:17:22 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2008-12-15 17:17:22 +0200
commitfe5de84c0db9e7108000fe1b7a7136528b8f27d9 (patch)
tree0850250943f0a6e356f146ea258e0422504d263f /audio/a2dp.c
parent321b4afa541196cab0ce22ec9c0f00a467a71d6f (diff)
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.
Diffstat (limited to 'audio/a2dp.c')
-rw-r--r--audio/a2dp.c3
1 files changed, 1 insertions, 2 deletions
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,