From 555dfa331e295a3a687a7cc6870e1349ffed8f26 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Fri, 6 Sep 2019 09:25:17 +0200 Subject: New upstream version 1.20.2 --- src/tests/test-core-with-expect.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/tests/test-core-with-expect.c') diff --git a/src/tests/test-core-with-expect.c b/src/tests/test-core-with-expect.c index d38025ec..2d111a41 100644 --- a/src/tests/test-core-with-expect.c +++ b/src/tests/test-core-with-expect.c @@ -118,13 +118,13 @@ test_nm_utils_kill_child_async_do (const char *name, pid_t pid, int sig, guint32 timeout_id = g_timeout_add_seconds (5, test_nm_utils_kill_child_async_fail_cb, &data); data.loop = g_main_loop_new (NULL, FALSE); - g_main_run (data.loop); + g_main_loop_run (data.loop); g_assert (data.called); success = g_source_remove (timeout_id); g_assert (success); - g_main_destroy (data.loop); + g_main_loop_unref (data.loop); } static void @@ -578,4 +578,3 @@ main (int argc, char **argv) return g_test_run (); } - -- cgit 1.3.0-6-gf8a5