X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire.c;h=ed4c790b95a38797dbbe8e730ffa9cfa1c9b0fe4;hb=687adf53eae434e88a47bb3409f946f3a26115a4;hp=3614224510472520d8a315ea3a9db17c9e718904;hpb=dda5e7a6be2af282b1644e04415f24b7b2381d97;p=pspp-builds.git diff --git a/src/ui/gui/psppire.c b/src/ui/gui/psppire.c index 36142245..ed4c790b 100644 --- a/src/ui/gui/psppire.c +++ b/src/ui/gui/psppire.c @@ -22,6 +22,7 @@ #include #include + #include #include #include @@ -44,6 +45,7 @@ #include "data-sheet.h" #include "var-sheet.h" #include "message-dialog.h" +#include "flexifile-factory.h" GladeXML *xml; @@ -88,6 +90,7 @@ struct dataset * the_dataset = NULL; int main(int argc, char *argv[]) { + struct casefile_factory *factory; GtkWidget *data_editor ; GtkSheet *var_sheet ; @@ -125,13 +128,14 @@ main(int argc, char *argv[]) fmt_init(); settings_init(); fh_init (); + factory = flexifile_factory_create (); the_source_stream = create_source_stream ( fn_getenv_default ("STAT_INCLUDE_PATH", include_path) ); the_lexer = lex_create (the_source_stream); - the_dataset = create_dataset (); + the_dataset = create_dataset (factory); message_dialog_init (the_source_stream);