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/ChangeLog | 9 +++++++++ shell/e-shell.c | 3 ++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/shell/ChangeLog b/shell/ChangeLog index bc328a6b38..b92f8d93c0 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,4 +1,13 @@ +2001-08-13 Ettore Perazzoli + + [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. + 2001-08-13 Anna Marie Dirks + * importer/import.glade : Changed all instances of "druid" and "wizard" to "assistant". 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