Cannot delete paint brush nor texture in texture slots
First, Shift click on the X button:

Then, in the Outliner, select Display Mode &gt; Orphan Data, press the Purge button or select the brush with a 0 and right click &gt; Delete.

There might be another way but I don't know it...