The county may accept from an elected county or precinct officer a gift or donation of all or part of the salary paid by the county to the officer. The county treasurer shall deposit a gift or donation accepted under this section in the general fund of the county.
Tex. Loc. Gov't. Code § 152.002