[GTK] fix treeview background setting

This PR solves the issue #411 in a more clean way.