Will & Grace's Gary Janetti has inked an overall deal with 20th Century Fox TV, where he's already developing a comedy with Family Guy creator Seth MacFarlane.

According to Variety, the comedy pact spans two years, with an option for a third. As part of the deal, he's rejoined the Family Guy writing staff, of which he was part early in the animated series' run.

Janetti said he and MacFarlane have just started batting around ideas for their sitcom but plan to create a more traditional multicamera half-hour.