projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Link against $(LIBICONV).
[pspp]
/
src
/
ui
/
gui
/
psppire.c
diff --git
a/src/ui/gui/psppire.c
b/src/ui/gui/psppire.c
index 9a341ec424da1922d5246d2b9e1042f86c1c290a..6e7c6e0a5ea05d25e149bea74eef9415fc031f5b 100644
(file)
--- a/
src/ui/gui/psppire.c
+++ b/
src/ui/gui/psppire.c
@@
-36,15
+36,12
@@
#include "helper.h"
#include "data-sheet.h"
#include "var-sheet.h"
#include "helper.h"
#include "data-sheet.h"
#include "var-sheet.h"
-#include "psppire-case-array.h"
#include "message-dialog.h"
GladeXML *xml;
PsppireDict *the_dictionary = 0;
#include "message-dialog.h"
GladeXML *xml;
PsppireDict *the_dictionary = 0;
-PsppireCaseArray *the_cases = 0;
-
PsppireDataStore *data_store = 0;
PsppireDataStore *data_store = 0;
@@
-84,8
+81,16
@@
main(int argc, char *argv[])
gchar *filename=0;
GError *err = 0;
gchar *filename=0;
GError *err = 0;
+ gchar *vers;
gtk_init(&argc, &argv);
gtk_init(&argc, &argv);
+ if ( (vers = gtk_check_version(GTK_MAJOR_VERSION,
+ GTK_MINOR_VERSION,
+ GTK_MICRO_VERSION)) )
+ {
+ g_critical(vers);
+ }
+
/* gtk_init messes with the locale.
So unset the bits we want to control ourselves */
/* gtk_init messes with the locale.
So unset the bits we want to control ourselves */
@@
-120,10
+125,7
@@
main(int argc, char *argv[])
/* Create the model for the var_sheet */
var_store = psppire_var_store_new(the_dictionary);
/* 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(100000, 20);
-
- data_store = psppire_data_store_new(the_dictionary, the_cases);
+ data_store = psppire_data_store_new(the_dictionary);
/* load the interface */
xml = glade_xml_new(PKGDATADIR "/psppire.glade", NULL, NULL);
/* load the interface */
xml = glade_xml_new(PKGDATADIR "/psppire.glade", NULL, NULL);