#include "data-sheet.h"
#include "var-sheet.h"
#include "psppire-case-array.h"
+#include "message-dialog.h"
GladeXML *xml;
GtkSheet *var_sheet ;
GtkSheet *data_sheet ;
+ gtk_init(&argc, &argv);
+
if ( ! parse_command_line(&argc, &argv) )
return 0;
- gtk_init(&argc, &argv);
glade_init();
+ message_dialog_init();
+
the_dictionary = psppire_dict_new();
/* Create the model for the var_sheet */
var_store = psppire_var_store_new(the_dictionary);
/* Create the model for the data sheet */
- the_cases = psppire_case_array_new(100, 20);
+ the_cases = psppire_case_array_new(100000, 20);
data_store = psppire_data_store_new(the_dictionary, the_cases);
/* start the event loop */
gtk_main();
+
+ message_dialog_done();
+
return 0;
}
g_print(legal);
return false;
default:
- assert (0);
+ return false;
}
}