core: Use timeout_add_seconds
authorFrédéric Danis <frederic.danis@collabora.com>
Tue, 16 Mar 2021 17:18:34 +0000 (18:18 +0100)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:34 +0000 (19:08 +0530)
commit43f862cf887ff2afb90492844ac037b9e2ed3a37
treeefe1d237e97211eb64e81af00ec90d92977ab9b6
parentedd170a10ebb5a69b6948b6edbc06e5f875a6111
core: Use timeout_add_seconds

Replace calls to g_timeout_add_seconds() by the timeout_add_seconds()
wrapper which takes care of 0 delay.

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
src/adapter.c
src/adv_monitor.c
src/advertising.c
src/device.c
src/main.c
src/sdp-client.c