[Fix #7109, Evolution crashes when the splash screen dialog is

killed by clicking the "X" button.]

* e-shell.c (e_shell_construct): Connect
`gtk_widget_hide_on_delete()' correctly.

svn path=/trunk/; revision=11962
This commit is contained in:
Ettore Perazzoli
2001-08-13 21:33:09 +00:00
parent e86531cbd1
commit febc97f6f5
2 changed files with 11 additions and 1 deletions

View File

@ -899,7 +899,8 @@ e_shell_construct (EShell *shell,
splash = NULL;
} else {
splash = e_splash_new ();
gtk_widget_hide_on_delete (splash);
gtk_signal_connect (GTK_OBJECT (splash), "delete_event",
GTK_SIGNAL_FUNC (gtk_widget_hide_on_delete), NULL);
gtk_widget_show (splash);
}