US actress Sara Gilbert married songwriter and former 4 Non-Blondes singer Linda Perry at the weekend.

Gilbert and Perry met in 2011 and got engaged last year.

The actress co-presents and is the executive producer of CBS daytime show The Talk.

She has previously spoken about her sexuality on The Talk before, crediting her ex-boyfriend with helping to embrace it.

Gilbert dated her former Roseanne co-star Johnny Galecki before ending the relationship when she realised she was gay.

She and Galecki are still good friends – she has also appeared with him on US comedy show The Big Bang Theory, in which she plays the occasional character Leslie Winkle.

Gilbert also famously played the character Darlene in US sitcom Roseanne in the 1980s and 1990s.

The actress has two children, Levi and Sawyer, from a previous relationship with producer and writer Allison Adler.

Hosts of The Talk would not reveal exactly where the wedding had taken place, saying they wanted Gilbert to reveal more herself when she returned from her honeymoon next week.

Julie Chen, one of Gilbert’s co-hosts, said the “beautiful ceremony” was “magical”.

Linda Perry has written tracks for artists including Christina Aguilera, including number one hit Beautiful, as well as Pink, Celine Dion, Alicia Keys, Gwen Stefani and James Blunt.