Check for PyGTK 2.22+, before using set_can_default