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:
Jonas Ådahl 2019-09-16 16:36:05 +02:00 committed by Georges Basile Stavracas Neto
parent 321ab3b367
commit 26b08d87a8

View File

@ -511,7 +511,7 @@ meta_idle_monitor_reset_idletime (MetaIdleMonitor *monitor)
if (watch->timeout_msec == 0) if (watch->timeout_msec == 0)
{ {
meta_idle_monitor_watch_fire ((MetaIdleMonitorWatch *) watch); meta_idle_monitor_watch_fire (watch);
} }
else else
{ {