Work around change in signature of the switch page callback in GtkNoteBook