MAGISTRATE Russell Warfield gave the defendant a little relationship advice.
Axil Lee Roderick Harvey and his partner had an argument on July 2.
The furious concreter then smashed his head through a window.
Mr Warfield told Harvey he needed to control his anger.
"If you're in a relationship there's always going to be disagreements."
Police were called to the Williams St, Gladstone address around 4.30pm.
Harvey was extremely drunk and started abusing the police.
Police prosecutor Mick O'Rourke repeated some of the more colourful language.
"What are you dogs doing here - you're dogs and c**ts," Harvey allegedly said.
He also spat in the direction of an officer. Mr Warfield said Harvey was lucky his aim was off.
He added he'd seen others who'd spat at police carted off to jail on a first offence.
Harvey pled guilty in the Gladstone Magistrates Court yesterday. He's on 12 months' probation.