diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2022-01-10 17:22:30 +0100 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2022-01-10 18:34:26 +0100 |
commit | ea21f1739bd9f9b2cf96ab40ae675883cd0a7549 (patch) | |
tree | dc836779b9822a8ceb59d3a01626ad8e91bde83b /tests/asynchronous/bug793158.c-expected | |
parent | 20202fd45455c944426fe3565e954c849f79a87b (diff) | |
download | vala-ea21f1739bd9f9b2cf96ab40ae675883cd0a7549.tar.gz |
Update c-expectedwip/issue/601
Diffstat (limited to 'tests/asynchronous/bug793158.c-expected')
-rw-r--r-- | tests/asynchronous/bug793158.c-expected | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/tests/asynchronous/bug793158.c-expected b/tests/asynchronous/bug793158.c-expected index 218575392..aa8ffb78b 100644 --- a/tests/asynchronous/bug793158.c-expected +++ b/tests/asynchronous/bug793158.c-expected @@ -144,15 +144,17 @@ foo_bar_co (FooBarData* _data_) g_assert_not_reached (); } _state_0: - _data_->result = TRUE; - 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); + { + _data_->result = TRUE; + 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; } Foo* |