My first guess would have been "a picture" too. But if they are working on a house, they could have to lay the carpet, paint, put in the trim work, etc. In that case "the painting" could be the gerund meaning the task of applying paint to the walls.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.