summaryrefslogtreecommitdiff
path: root/tests/asynchronous/yield.c-expected
diff options
context:
space:
mode:
Diffstat (limited to 'tests/asynchronous/yield.c-expected')
-rw-r--r--tests/asynchronous/yield.c-expected28
1 files changed, 16 insertions, 12 deletions
diff --git a/tests/asynchronous/yield.c-expected b/tests/asynchronous/yield.c-expected
index 993fdbc33..9210969ca 100644
--- a/tests/asynchronous/yield.c-expected
+++ b/tests/asynchronous/yield.c-expected
@@ -67,20 +67,24 @@ foo_co (FooData* _data_)
g_assert_not_reached ();
}
_state_0:
- while (TRUE) {
- _data_->_state_ = 1;
- return FALSE;
- _state_1:
- ;
- }
- g_task_return_pointer (_data_->_async_result, _data_, NULL);
- if (_data_->_state_ != 0) {
- while (!g_task_get_completed (_data_->_async_result)) {
- g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
+ {
+ while (TRUE) {
+ _data_->_state_ = 1;
+ return FALSE;
+ _state_1:
+ {
+ ;
+ }
+ g_task_return_pointer (_data_->_async_result, _data_, NULL);
+ if (_data_->_state_ != 0) {
+ while (!g_task_get_completed (_data_->_async_result)) {
+ g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
+ }
+ }
+ g_object_unref (_data_->_async_result);
+ return FALSE;
}
}
- g_object_unref (_data_->_async_result);
- return FALSE;
}
static void