aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-account-editor.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-account-editor.c')
-rw-r--r--mail/mail-account-editor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-account-editor.c b/mail/mail-account-editor.c
index 751c95519b..feb7384bcb 100644
--- a/mail/mail-account-editor.c
+++ b/mail/mail-account-editor.c
@@ -168,7 +168,7 @@ mail_account_editor_new (MailConfigAccount *account, GtkWindow *parent, MailAcco
MailAccountEditor *new;
new = (MailAccountEditor *) g_object_new(mail_account_editor_get_type (), NULL);
- gtk_widget_set_parent_window ((GtkWidget *) new, ((GtkWidget *)parent)->window);
+ gtk_window_set_transient_for ((GtkWindow *) new, parent);
construct (new, account, dialog);
return new;