Cleaned up GUI, by objectifying the data editor. Removed a number of global variables.
[pspp-builds.git] / src / ui / gui / var-sheet.h
index fda222b90ad74c3643a768a07e7cdc426a54d1ab..4cfe6847cdaefa9ed3ec2aedd088d50bbdaa3b3d 100644 (file)
@@ -1,7 +1,6 @@
 /* 
    PSPPIRE --- A Graphical User Interface for PSPP
    Copyright (C) 2004, 2005, 2006  Free Software Foundation
-   Written by John Darrington
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -50,10 +49,13 @@ GtkWidget* psppire_variable_sheet_create (gchar *widget_name,
                                          gchar *string2,
                                          gint int1, gint int2);
 
+#define n_ALIGNMENTS 3
 
-extern const gchar *alignments[];
+extern const gchar *const alignments[n_ALIGNMENTS + 1];
 
-extern const gchar *measures[];
+#define n_MEASURES 3
+
+extern const gchar *const measures[n_MEASURES + 1];
 
 
 #endif