aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-callbacks.c
diff options
context:
space:
mode:
author6 <NotZed@Ximian.com>2001-10-26 10:03:22 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-10-26 10:03:22 +0800
commit8b01bc9334622e0d5cf643e7c26578acc7c83a78 (patch)
tree8fc3917a8dacf23739288e8063d6286c3dcbdf05 /mail/mail-callbacks.c
parentf8b3f5bb88387f3d219d06257e1671649a5090ac (diff)
downloadgsoc2013-evolution-8b01bc9334622e0d5cf643e7c26578acc7c83a78.tar
gsoc2013-evolution-8b01bc9334622e0d5cf643e7c26578acc7c83a78.tar.gz
gsoc2013-evolution-8b01bc9334622e0d5cf643e7c26578acc7c83a78.tar.bz2
gsoc2013-evolution-8b01bc9334622e0d5cf643e7c26578acc7c83a78.tar.lz
gsoc2013-evolution-8b01bc9334622e0d5cf643e7c26578acc7c83a78.tar.xz
gsoc2013-evolution-8b01bc9334622e0d5cf643e7c26578acc7c83a78.tar.zst
gsoc2013-evolution-8b01bc9334622e0d5cf643e7c26578acc7c83a78.zip
Use a timeout not an idle handler.
2001-10-26 <NotZed@Ximian.com> * component-factory.c (owner_unset_cb): Use a timeout not an idle handler. * mail-callbacks.c (providers_config): Only set the parent window. * mail-accounts.c (mail_edit): Set the parent on the account editor. svn path=/trunk/; revision=14121
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r--mail/mail-callbacks.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c
index 40f197a8e2..c184714f86 100644
--- a/mail/mail-callbacks.c
+++ b/mail/mail-callbacks.c
@@ -2237,9 +2237,8 @@ providers_config (BonoboUIComponent *uih, void *user_data, const char *path)
if (!accounts_dialog) {
accounts_dialog = mail_accounts_dialog_new (fb->shell);
- gtk_widget_set_parent (GTK_WIDGET (accounts_dialog), GTK_WIDGET (fb));
- gtk_widget_set_parent_window (GTK_WIDGET (accounts_dialog),
- GTK_WIDGET (FB_WINDOW (fb))->window);
+ gtk_widget_set_parent_window (GTK_WIDGET (accounts_dialog), fb);
+
gtk_signal_connect (GTK_OBJECT (accounts_dialog), "destroy",
accounts_dialog_close, NULL);
gnome_dialog_set_close (GNOME_DIALOG (accounts_dialog), TRUE);