Warracknabeal man to spend 45 days in jail for family violence offences