From: John Darrington Date: Sat, 7 Mar 2009 11:54:21 +0000 (+0900) Subject: Default response to be same as Cancel X-Git-Tag: v0.7.3~245 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd39fd6a357b1b464005d42c2e0aa40526ce4398;p=pspp-builds.git Default response to be same as Cancel --- diff --git a/src/ui/gui/psppire-window.c b/src/ui/gui/psppire-window.c index 3124fb47..103bcdad 100644 --- a/src/ui/gui/psppire-window.c +++ b/src/ui/gui/psppire-window.c @@ -384,6 +384,7 @@ on_delete (PsppireWindow *w, GdkEvent *event, gpointer user_data) switch (response) { + default: case GTK_RESPONSE_CANCEL: return TRUE; break; @@ -391,7 +392,6 @@ on_delete (PsppireWindow *w, GdkEvent *event, gpointer user_data) psppire_window_save (w); break; case GTK_RESPONSE_REJECT: - default: break; } }