private void CancelIdleTimeout() { if (idle_timeout_id > 0) { GLib.Source.Remove (idle_timeout_id); idle_timeout_id = 0; } }