summaryrefslogtreecommitdiff
path: root/tests/wocky-porter-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/wocky-porter-test.c')
-rw-r--r--tests/wocky-porter-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/wocky-porter-test.c b/tests/wocky-porter-test.c
index abcd5c3..d36bc00 100644
--- a/tests/wocky-porter-test.c
+++ b/tests/wocky-porter-test.c
@@ -1190,7 +1190,7 @@ test_cancel_sent_stanza_cb (WockyPorter *porter,
test_data_t *test = (test_data_t *) user_data;
test_expected_stanza_received (test, stanza);
- g_cancellable_cancel (test->cancellable);
+ test_cancel_in_idle (test->cancellable);
return TRUE;
}