The screen changes are done in do_screen_change(), the widget path is updated in gtk_widget_reset_style().