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:
parent
ee4bb2240b
commit
23a8ea2821
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user