Default response to be same as Cancel
authorJohn Darrington <john@darrington.wattle.id.au>
Sat, 7 Mar 2009 11:54:21 +0000 (20:54 +0900)
committerJohn Darrington <john@darrington.wattle.id.au>
Sat, 7 Mar 2009 11:54:21 +0000 (20:54 +0900)
src/ui/gui/psppire-window.c

index 3124fb47c7535501497acdcf5c13e28862c65294..103bcdadf361e9f5b3389119bfe52c23da06a503 100644 (file)
@@ -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;
        }
     }