The rector ended very cheerfully, leaving the room with the satisfactory conviction that Gwendolen was going to adapt herself to circumstances like a girl of good sense. 
The rector left the room with the cheerful conviction that Gwendolen was going to act like a girl of good sense.
