If you were a fan of Christina Applegate‘s now defunct TV comedy Samantha Who, here’s some semi-decent news for you. The show is still canceled, but the actress got another job. According to Yahoo News, Applegate has just signed on to co-star in the upcoming romantic comedy, Going the Distance. She will be joining It’s Always Sunny in Philadelphia star Charlie Day and the two headliners Drew Barrymore and Justin Long.

Going the Distance centers on a couple (Barrymore and Long) as they struggle to make a long distance relationship work. The film will be directed by Nanette Burstein, with a script written by Geoff LaTulippe. Applegate will star as Barrymore’s sister, and Day will portray Long’s best friend. Over at THR, they recently spoke to the Philadelphia star about his jump from TV to film, which he credits mostly to good scheduling.

It’s a year-round gig so it’s made it tough to do movies,” said Day. “I couldn’t just up and take (the role). I had to sit down with the guys and work out a schedule and say, ‘If you’re comfortable, I’m going to be doing a bit of flying back and forth.’… It has to be very interesting for us to bow out of our responsibility and pass the buck.”

Even though It’s Always Sunny in Philadelphia is currently shooting their 5th season, Christina Applegate is obviously looking for new opportunities. The actress was last seen in the comedy The Rocker, and will be one of the featured voices in the upcoming Alvin and the Chipmunks: The Sqeakuel. Sounds exciting.

What do you think of the latest additions to Going the Distance?