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
This commit is contained in:
Jonas Ådahl 2019-04-16 18:06:54 +02:00 committed by Georges Basile Stavracas Neto
parent ee4bb2240b
commit 23a8ea2821

View File

@ -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 = {