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/bug595735.c-expected | |
parent | 20202fd45455c944426fe3565e954c849f79a87b (diff) | |
download | vala-ea21f1739bd9f9b2cf96ab40ae675883cd0a7549.tar.gz |
Update c-expectedwip/issue/601
Diffstat (limited to 'tests/asynchronous/bug595735.c-expected')
-rw-r--r-- | tests/asynchronous/bug595735.c-expected | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/tests/asynchronous/bug595735.c-expected b/tests/asynchronous/bug595735.c-expected index 377573847..485d39377 100644 --- a/tests/asynchronous/bug595735.c-expected +++ b/tests/asynchronous/bug595735.c-expected @@ -391,14 +391,16 @@ bar_real_do_foo_co (BarDoFooData* _data_) g_assert_not_reached (); } _state_0: - 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_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; } Bar* |