aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-account-editor.c
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2007-07-01 03:33:39 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2007-07-01 03:33:39 +0800
commitbac2e24ba98349d6954669c393da672450e26caa (patch)
tree8b650104489b4a6705fa94efb35ed6c10608b8df /mail/em-account-editor.c
parent5ba7e1862f602b014e722e09e5dd7ff902fe620c (diff)
downloadgsoc2013-evolution-bac2e24ba98349d6954669c393da672450e26caa.tar.gz
gsoc2013-evolution-bac2e24ba98349d6954669c393da672450e26caa.tar.zst
gsoc2013-evolution-bac2e24ba98349d6954669c393da672450e26caa.zip
** Fix for bug #352947
svn path=/trunk/; revision=33735
Diffstat (limited to 'mail/em-account-editor.c')
-rw-r--r--mail/em-account-editor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/em-account-editor.c b/mail/em-account-editor.c
index ecc2671dba..ce82449fa7 100644
--- a/mail/em-account-editor.c
+++ b/mail/em-account-editor.c
@@ -966,7 +966,7 @@ smime_sign_key_select(GtkWidget *button, EMAccountEditor *emae)
w = e_cert_selector_new(E_CERT_SELECTOR_SIGNER, gtk_entry_get_text(gui->smime_sign_key));
gtk_window_set_modal((GtkWindow *)w, TRUE);
- gtk_window_set_transient_for((GtkWindow *)w, (GtkWindow *)gtk_widget_get_toplevel((GtkWidget *)emae));
+ gtk_window_set_transient_for((GtkWindow *)w, (GtkWindow *)gtk_widget_get_toplevel(button));
g_signal_connect(w, "selected", G_CALLBACK(smime_sign_key_selected), emae);
gtk_widget_show(w);
}
@@ -1001,7 +1001,7 @@ smime_encrypt_key_select(GtkWidget *button, EMAccountEditor *emae)
w = e_cert_selector_new(E_CERT_SELECTOR_SIGNER, gtk_entry_get_text(gui->smime_encrypt_key));
gtk_window_set_modal((GtkWindow *)w, TRUE);
- gtk_window_set_transient_for((GtkWindow *)w, (GtkWindow *)gtk_widget_get_toplevel((GtkWidget *)emae));
+ gtk_window_set_transient_for((GtkWindow *)w, (GtkWindow *)gtk_widget_get_toplevel(button));
g_signal_connect(w, "selected", G_CALLBACK(smime_encrypt_key_selected), emae);
gtk_widget_show(w);
}