Use gimp_window_set_transient. Bug 727578.