Remove callbacks from struct dataset. Closes patch #6075
[pspp-builds.git] / src / ui / gui / psppire.c
index e424e212468e0c0a052e6cb201f395cffa239a8e..ff155d68fe71cc66e97dff9572a06435adae7045 100644 (file)
@@ -36,6 +36,7 @@
 #include <language/lexer/lexer.h>
 #include <libpspp/version.h>
 #include <output/output.h>
+#include <output/journal.h>
 
 #include <gtk/gtk.h>
 #include <glade/glade.h>
@@ -91,7 +92,7 @@ initialize (void)
                          fn_getenv_default ("STAT_INCLUDE_PATH", include_path)
                          );
 
-  the_dataset = create_dataset (NULL, NULL);
+  the_dataset = create_dataset ();
 
 
   message_dialog_init (the_source_stream);
@@ -116,6 +117,8 @@ initialize (void)
 
   unlink (OUTPUT_FILE_NAME);
 
+  journal_enable ();
+
   new_data_window (NULL, NULL);
 }