From eed65998672cb8743e0efa07e3b8ae3d29fc148f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Mon, 8 Nov 2021 10:51:19 +0100 Subject: [PATCH] startup-notification: Fix source return value Use G_SOURCE_CONTINUE and G_SOURCE_REMOVE intead of TRUE and FALSE. Part-of: --- src/core/startup-notification.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/core/startup-notification.c b/src/core/startup-notification.c index 630f2ff0d..1cc1e803d 100644 --- a/src/core/startup-notification.c +++ b/src/core/startup-notification.c @@ -508,13 +508,12 @@ startup_sequence_timeout (void *data) if (sn->startup_sequences != NULL) { - return TRUE; + return G_SOURCE_CONTINUE; } else { - /* remove */ sn->startup_sequence_timeout_id = 0; - return FALSE; + return G_SOURCE_REMOVE; } }