diff options
author | Thomas Haller <thaller@redhat.com> | 2020-01-01 09:49:33 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2020-01-09 14:30:04 +0100 |
commit | 28378bfefa4a3c8b52c0f7327701e6f4dd0ebaad (patch) | |
tree | 435dd37911399771a6b2f81bac40538fc2628937 | |
parent | 0d97ad3c96da224775b3e28248780f09935b7fce (diff) | |
download | NetworkManager-28378bfefa4a3c8b52c0f7327701e6f4dd0ebaad.tar.gz |
shared: use G_SOURCE_FUNC() macro in "shared/nm-test-utils-impl.c"
-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); |