Of
9. (used to indicate the objective relation, the object of the action noted by the preceding noun or the application of a verb or adjective): the ringing of bells; He writes her of home; I'm tired of working.

About
4. a. In reference to; relating to; concerned with: a book about snakes.

Thinking of something and thinking about something is the same. The object of your thinking is "something".