From febc97f6f5ea4f2a7a612a963439c448e0592f0c Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Mon, 13 Aug 2001 21:33:09 +0000 Subject: [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 --- shell/e-shell.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'shell/e-shell.c') diff --git a/shell/e-shell.c b/shell/e-shell.c index ac6fcc69b6..5c8a7c53cc 100644 --- a/shell/e-shell.c +++ b/shell/e-shell.c @@ -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); } -- cgit v1.2.3