she considered it all as nonsense , as mere trifling and gallantry ; he was treating her improperly , and in a way that she had not deserved ; but it was like himself , and entirely of a piece with what she had seen before ; and she would not allow herself to show displeasure , after he had conferred such an obligation .