<human>: Last week me and my girlfriend broke up, she had just suffered her cat dying and her grandpa(who she lived with) being put into a home. It was a mutual breakup once we talked about it but she bought it up. 
Saying how i made inappropriate jokes at her expense, this was true but she never spoke up about it so i didnt really think it was such a big deal at the time (these jokes were just farting around her, general gross boyfriend stuff it was never obscene or done with malice) seeing as i didnt mean to upset her and thoight she was breaking up with me because of such a minor part of my personality my thought process was she needed some time to get herself together, i just didnt see it for what it was. 

After a couple of days and talking to people i completely understand where she was coming from and talked to her about toning the jokes down and possibly giving me another chance if she could but she wasnt interested but didnt rule out us getting back together once everything calmed down. Its worth mentioning we have been best freinds for years and so we just went back to being freinds. 

The question im asking is what i should be doing to help her out and doing everything i can to be there for her

Are there any subjects i shouldnt bring up? Are getting her presents out of the question? How often should i be talking to her without impeeding on her personal space? Shes depressed and i want to be there for her but not suffocate her.

Provide a brief overview of the text.
<bot>: depressed girlfriend broke up with me and i want to be there for her while giving her the space she needs to get right.