Fixed a bug where contrasts with negative T where incorrectly processed.
[pspp] / src / ui / gui / psppire-var-sheet.h
index 97efcf456ad1a2450c6192a8f608f0889dd6ce05..e8db83e12ac4e0b4c0598b7f5d383b01eab0ce61 100644 (file)
@@ -44,6 +44,15 @@ GType psppire_fmt_use_get_type (void) G_GNUC_CONST;
 typedef struct _PsppireVarSheet       PsppireVarSheet;
 typedef struct _PsppireVarSheetClass  PsppireVarSheetClass;
 
+enum
+{
+    PSPPIRE_VAR_SHEET_BACKEND_CHANGED,
+    PSPPIRE_VAR_SHEET_VARIABLE_CHANGED,
+    PSPPIRE_VAR_SHEET_VARIABLE_INSERTED,
+    PSPPIRE_VAR_SHEET_VARIABLE_DELETED,
+    PSPPIRE_VAR_SHEET_N_SIGNALS
+ };
+
 struct _PsppireVarSheet
 {
   PsppSheetView parent;
@@ -53,17 +62,18 @@ struct _PsppireVarSheet
   enum fmt_use format_use;
 
   struct _PsppireDict *dict;
-  struct val_labs_dialog *val_labs_dialog;
-  struct missing_val_dialog *missing_val_dialog;
-  struct var_type_dialog *var_type_dialog;
 
   gulong scroll_to_bottom_signal;
-  gulong *dict_signals;
+  gulong dict_signals[PSPPIRE_VAR_SHEET_N_SIGNALS];
 
   GtkBuilder *builder;
 
   GtkWidget *container;
   gulong on_switch_page_handler;
+
+  GtkUIManager *uim;
+
+  gboolean dispose_has_run;
 };
 
 struct _PsppireVarSheetClass