From 15d33f4f855f96e8aa57295787bf19fa9401a06a Mon Sep 17 00:00:00 2001 From: Evangelos Ribeiro Tzaras Date: Wed, 9 Nov 2022 11:01:29 +0100 Subject: [PATCH] tests/integration: Indicate that callback quits main loop on_event_triggered() is renamed to on_event_triggered_quit() as we will shortly introduce a variant that does not quit. --- tests/test-lfb-integration.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test-lfb-integration.c b/tests/test-lfb-integration.c index 639c7fa..d110614 100644 --- a/tests/test-lfb-integration.c +++ b/tests/test-lfb-integration.c @@ -123,7 +123,7 @@ test_lfb_integration_event_not_found (void) } static void -on_event_triggered (LfbEvent *event, +on_event_triggered_quit (LfbEvent *event, GAsyncResult *res, LfbEvent **cmp) { @@ -179,7 +179,7 @@ test_lfb_integration_event_async (void) event0 = lfb_event_new ("test-dummy-0"); lfb_event_trigger_feedback_async (event0, NULL, - (GAsyncReadyCallback)on_event_triggered, + (GAsyncReadyCallback)on_event_triggered_quit, &cmp1); g_main_loop_run (mainloop); /* The async finish callback saw the right event */ @@ -195,7 +195,7 @@ test_lfb_integration_event_async (void) /* The async callback ends the main loop */ lfb_event_trigger_feedback_async (event10, NULL, - (GAsyncReadyCallback)on_event_triggered, + (GAsyncReadyCallback)on_event_triggered_quit, &cmp2); g_main_loop_run (mainloop);