mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-03 23:00:28 +01:00
shared: use G_SOURCE_FUNC() macro in "shared/nm-test-utils-impl.c"
This commit is contained in:
parent
38323216f5
commit
78c4bc58c7
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue