Fixed a bug with widget selectors in GTK.