Added the /WILCOXON subcommand to NPAR TESTS
[pspp] / src / ui / gui / psppire.c
index edf17efe46df178197d370bfe7b66cac5ba62cd1..0467746333c07960ecef3ae8d984c9182c5109ce 100644 (file)
@@ -20,6 +20,7 @@
 #include <assert.h>
 #include <libintl.h>
 #include <gsl/gsl_errno.h>
+#include <signal.h>
 
 #include "relocatable.h"
 
@@ -30,7 +31,6 @@
 #include <data/casereader.h>
 #include <data/datasheet.h>
 #include <data/file-handle-def.h>
-#include <data/format.h>
 #include <data/settings.h>
 #include <data/file-name.h>
 #include <data/procedure.h>
@@ -46,8 +46,6 @@
 #include "psppire-var-store.h"
 #include "psppire-data-store.h"
 #include "helper.h"
-#include "data-sheet.h"
-#include "var-sheet.h"
 #include "message-dialog.h"
 
 #include "output-viewer.h"
@@ -88,7 +86,6 @@ initialize (void)
   glade_init ();
 
   gsl_set_error_handler_off ();
-  fmt_init ();
   fn_init ();
   outp_init ();
   settings_init (&viewer_width, &viewer_length);
@@ -126,6 +123,9 @@ initialize (void)
   journal_enable ();
   textdomain (PACKAGE);
 
+  /* Ignore alarm clock signals */
+  signal (SIGALRM, SIG_IGN);
+
   new_data_window (NULL, NULL);
 }
 
@@ -190,7 +190,6 @@ create_icon_factory (void)
        }
     }
 
-
   {
     /* Create our own "pspp-stock-reset" item, using the
        GTK_STOCK_REFRESH icon set */
@@ -201,7 +200,7 @@ create_icon_factory (void)
     };
 
 
-    gtk_stock_add (&items, 2);
+    gtk_stock_add (items, 2);
     gtk_icon_factory_add (factory, "pspp-stock-reset", 
                          gtk_icon_factory_lookup_default (GTK_STOCK_REFRESH)
                          );