diff options
author | Dan Winship <danw@src.gnome.org> | 2001-10-10 02:04:13 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-10-10 02:04:13 +0800 |
commit | beaba25d506b981d39340bb071dcb58baf106265 (patch) | |
tree | 84790141125d109e2bd137589817e426779a48c7 /mail/mail-callbacks.c | |
parent | 76663ce9354009ba4c34d91ca3431fe4b14754ea (diff) | |
download | gsoc2013-evolution-beaba25d506b981d39340bb071dcb58baf106265.tar.gz gsoc2013-evolution-beaba25d506b981d39340bb071dcb58baf106265.tar.zst gsoc2013-evolution-beaba25d506b981d39340bb071dcb58baf106265.zip |
Use gtk_signal_connect_while_alive here so e_gnome_dialog_parent_destroyed
* mail-callbacks.c (e_gnome_dialog_set_parent): Use
gtk_signal_connect_while_alive here so
e_gnome_dialog_parent_destroyed doesn't get called on an
already-destroyed dialog.
* mail-config-druid.c (*_prepare): Record which page we're
currently in.
(*_changed): Only update the druid buttons if we're the current
page. Fixes a problem that could make it impossible to get beyond
the first page of the setup wizard.
svn path=/trunk/; revision=13522
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r-- | mail/mail-callbacks.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c index d67a2bafc8..fb2729af59 100644 --- a/mail/mail-callbacks.c +++ b/mail/mail-callbacks.c @@ -85,8 +85,9 @@ static void e_gnome_dialog_set_parent (GnomeDialog *dialog, GtkWindow *parent) { gnome_dialog_set_parent (dialog, parent); - gtk_signal_connect (GTK_OBJECT (parent), "destroy", - e_gnome_dialog_parent_destroyed, dialog); + gtk_signal_connect_while_alive (GTK_OBJECT (parent), "destroy", + e_gnome_dialog_parent_destroyed, + dialog, dialog); } static GtkWidget * |