(image courtesy of MuggleNet)From the HP Lexicon:
To get to the kitchens, take the door to the right of the main staircase in the entrance hall. Follow the corridor until you come to a painting of a bowl of fruit. Tickle the pear and it giggles and becomes a door handle (Goblet of Fire Ch. 21).