summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2020-01-01 09:49:33 +0100
committerThomas Haller <thaller@redhat.com>2020-01-09 14:30:04 +0100
commit28378bfefa4a3c8b52c0f7327701e6f4dd0ebaad (patch)
tree435dd37911399771a6b2f81bac40538fc2628937
parent0d97ad3c96da224775b3e28248780f09935b7fce (diff)
downloadNetworkManager-28378bfefa4a3c8b52c0f7327701e6f4dd0ebaad.tar.gz
shared: use G_SOURCE_FUNC() macro in "shared/nm-test-utils-impl.c"
-rw-r--r--shared/nm-test-utils-impl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/nm-test-utils-impl.c b/shared/nm-test-utils-impl.c
index 0805d0b946..43176f4c7e 100644
--- a/shared/nm-test-utils-impl.c
+++ b/shared/nm-test-utils-impl.c
@@ -127,7 +127,7 @@ nmtstc_service_init (void)
g_source_attach (timeout_source, context);
child_source = g_child_watch_source_new (info->pid);
- g_source_set_callback (child_source, (GSourceFunc)(void (*) (void)) _service_init_wait_child_wait, &data, NULL);
+ g_source_set_callback (child_source, G_SOURCE_FUNC (_service_init_wait_child_wait), &data, NULL);
g_source_attach (child_source, context);
had_timeout = !nmtst_main_loop_run (data.mainloop, 30000);