summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Ã…dahl <jadahl@gmail.com>2019-04-16 18:06:54 +0200
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2019-05-02 23:46:43 +0000
commit23a8ea2821f21697a39d3ffc9a1042976eb46cc7 (patch)
treeacb65715a8365a2c5724f3d29ddeec8874fc559b
parentee4bb2240b62ee39913a87164be8406acdc15e01 (diff)
downloadmutter-23a8ea2821f21697a39d3ffc9a1042976eb46cc7.tar.gz
idle-monitor: Use G_SOURCE_CONTINUE instead of TRUE
Returning TRUE is confusing, as it doesn't carry any relevant meaning. Use G_SOURCE_CONTINUE to make it clearer that the source is here to stay. https://gitlab.gnome.org/GNOME/mutter/merge_requests/543
-rw-r--r--src/backends/meta-idle-monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backends/meta-idle-monitor.c b/src/backends/meta-idle-monitor.c
index 6673fe06c..6b8d36be9 100644
--- a/src/backends/meta-idle-monitor.c
+++ b/src/backends/meta-idle-monitor.c
@@ -320,7 +320,7 @@ idle_monitor_dispatch_timeout (GSource *source,
_meta_idle_monitor_watch_fire (watch);
g_source_set_ready_time (watch->timeout_source, -1);
- return TRUE;
+ return G_SOURCE_CONTINUE;
}
static GSourceFuncs idle_monitor_source_funcs = {