Created attachment 9679 fix-gtimeval-deprecation.diff Untested.
Andre Miranda referenced this bugreport in commit e10bdf6d803d1ed7abd54fa080aabace0d2f4908 Fix GTimeVal deprecation (Bug #16645) https://git.xfce.org/xfce/xfce4-settings/commit?id=e10bdf6d803d1ed7abd54fa080aabace0d2f4908
Tested. Thanks for the patch! :)