From ea21f1739bd9f9b2cf96ab40ae675883cd0a7549 Mon Sep 17 00:00:00 2001 From: Rico Tzschichholz Date: Mon, 10 Jan 2022 17:22:30 +0100 Subject: Update c-expected --- tests/asynchronous/bug595735.c-expected | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'tests/asynchronous/bug595735.c-expected') 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* -- cgit v1.2.1