Parent: 26381ed7d895f3bf4d704039df1a4d29b06ca5b2
Author: Colin Watson <cjwatson@ubuntu.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2014-01-06 21:27:31
Tree: 39b661583b8bc5d7c6830eec79ed7300bd65d342
unit: Fix test failures with glib 2.39.0 glib 2.39.0 made this change: - g_source_remove() will now throw a critical in the case that you try to remove a non-existent source. We expect that there is some code in the wild that will fall afoul of this new critical but considering that we now reuse source IDs, this code is already broken and should probably be fixed. This patch fixes the test suite to keep better track of whether sources have already been removed and avoid double-removals.
Diffstat
| M | unit/test-avdtp.c | | | 8 | ++++++- - |
| M | unit/test-gobex-transfer.c | | | 6 | ++++- - |
| M | unit/test-gobex.c | | | 13 | ++++++++- - - - - |
| M | unit/util.c | | | 1 | + |
| M | unit/util.h | | | 1 | + |
5 files changed, 20 insertions(+), 9 deletions(-)