Even objects behind glass gather dust, unless they are hermetically sealed, I guess.
I find I have to dust my glass shelves in my curio cabinets about once a year, when I trace my finger along them and can see the path it makes. A tedious project, unless I am in a good mood.