use gtk_widget_get_window instead of struct field