mirror of
https://github.com/brl/mutter.git
synced 2024-11-24 09:00:42 -05:00
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
f9d6627fe0
commit
6933ce0976
@ -320,7 +320,7 @@ idle_monitor_dispatch_timeout (GSource *source,
|
|||||||
_meta_idle_monitor_watch_fire (watch);
|
_meta_idle_monitor_watch_fire (watch);
|
||||||
g_source_set_ready_time (watch->timeout_source, -1);
|
g_source_set_ready_time (watch->timeout_source, -1);
|
||||||
|
|
||||||
return TRUE;
|
return G_SOURCE_CONTINUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static GSourceFuncs idle_monitor_source_funcs = {
|
static GSourceFuncs idle_monitor_source_funcs = {
|
||||||
|
Loading…
Reference in New Issue
Block a user