diff options
author | Thomas Haller <thaller@redhat.com> | 2020-01-01 09:49:33 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2020-01-13 15:46:04 +0100 |
commit | 78c4bc58c79fe2764897fa0dfdcf174dd3676b96 (patch) | |
tree | aa907d56c09c3e8fa444fad2c08d4cb23c2e4ded /shared | |
parent | 38323216f57997fede010f78435d284e85546a2b (diff) | |
download | NetworkManager-78c4bc58c79fe2764897fa0dfdcf174dd3676b96.tar.gz |
shared: use G_SOURCE_FUNC() macro in "shared/nm-test-utils-impl.c"
Diffstat (limited to 'shared')
-rw-r--r-- | shared/nm-test-utils-impl.c | 2 |
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); |