idle-monitor: Remove redundant type cast
No need to type cast a `MetaIdleMonitorWatch *` to a `MetaIdleMonitorWatch *`. https://gitlab.gnome.org/GNOME/mutter/merge_requests/799
This commit is contained in:
parent
321ab3b367
commit
26b08d87a8
@ -511,7 +511,7 @@ meta_idle_monitor_reset_idletime (MetaIdleMonitor *monitor)
|
||||
|
||||
if (watch->timeout_msec == 0)
|
||||
{
|
||||
meta_idle_monitor_watch_fire ((MetaIdleMonitorWatch *) watch);
|
||||
meta_idle_monitor_watch_fire (watch);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user