From 6fb2775ecb407ddfcdb42584004c7ea6e7130298 Mon Sep 17 00:00:00 2001 From: Yuedong Du Date: Thu, 24 Jul 2003 03:11:44 +0000 Subject: fix crash when user escape the dialog. see bug #46700. 2003-07-24 Yuedong Du * e-shell-offline-handler.c: (dialog_response_cb): fix crash when user escape the dialog. see bug #46700. svn path=/trunk/; revision=21931 --- shell/ChangeLog | 5 +++++ shell/e-shell-offline-handler.c | 1 + 2 files changed, 6 insertions(+) (limited to 'shell') diff --git a/shell/ChangeLog b/shell/ChangeLog index 1836661ca9..a20ed886f8 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,8 @@ +2003-07-24 Yuedong Du + + * e-shell-offline-handler.c: (dialog_response_cb): fix crash when user escape the + dialog. see bug #46700. + 2003-07-23 Dan Winship * Makefile.am: Use EVO_MARSHAL_RULE diff --git a/shell/e-shell-offline-handler.c b/shell/e-shell-offline-handler.c index 4e87d3dcae..298421b1a8 100644 --- a/shell/e-shell-offline-handler.c +++ b/shell/e-shell-offline-handler.c @@ -625,6 +625,7 @@ dialog_response_cb (GtkDialog *dialog, break; case GTK_RESPONSE_CANCEL: + case GTK_RESPONSE_DELETE_EVENT: dialog_handle_cancel (dialog, offline_handler); break; -- cgit v1.2.3