Blame SOURCES/0001-idle-monitor-Use-G_SOURCE_CONTINUE-instead-of-TRUE.patch

61bfcb
From 0ac0bc55cf69579834b28d99729cefd1157624c3 Mon Sep 17 00:00:00 2001
61bfcb
From: =?UTF-8?q?Jonas=20=C3=85dahl?= <jadahl@gmail.com>
61bfcb
Date: Tue, 16 Apr 2019 18:06:54 +0200
61bfcb
Subject: [PATCH 1/2] idle-monitor: Use G_SOURCE_CONTINUE instead of TRUE
61bfcb
61bfcb
Returning TRUE is confusing, as it doesn't carry any relevant meaning.
61bfcb
Use G_SOURCE_CONTINUE to make it clearer that the source is here to
61bfcb
stay.
61bfcb
---
61bfcb
 src/backends/meta-idle-monitor.c | 2 +-
61bfcb
 1 file changed, 1 insertion(+), 1 deletion(-)
61bfcb
61bfcb
diff --git a/src/backends/meta-idle-monitor.c b/src/backends/meta-idle-monitor.c
61bfcb
index 46cf8cd76..2b634f59a 100644
61bfcb
--- a/src/backends/meta-idle-monitor.c
61bfcb
+++ b/src/backends/meta-idle-monitor.c
61bfcb
@@ -315,7 +315,7 @@ idle_monitor_dispatch_timeout (GSource     *source,
61bfcb
   _meta_idle_monitor_watch_fire (watch);
61bfcb
   g_source_set_ready_time (watch->timeout_source, -1);
61bfcb
 
61bfcb
-  return TRUE;
61bfcb
+  return G_SOURCE_CONTINUE;
61bfcb
 }
61bfcb
 
61bfcb
 static GSourceFuncs idle_monitor_source_funcs = {
61bfcb
-- 
61bfcb
2.20.1
61bfcb