table-paste: Add error-checking assertion to table_paste().
[pspp] / src / ui / gui / psppire-data-editor.h
index ea08f0131782a2f59b93ae61793c5b4c4e31f480..35666600decca02e6f3b06e471ff79422f974a3e 100644 (file)
@@ -32,7 +32,6 @@
 #include <glib-object.h>
 #include <gtk/gtk.h>
 
-#include "psppire-var-store.h"
 #include "psppire-data-store.h"
 #include "ui/gui/pspp-sheet-view.h"
 
@@ -55,7 +54,7 @@ struct _PsppireDataEditor
 
   /* <private> */
   PsppireDataStore *data_store;
-  PsppireVarStore *var_store;
+  PsppireDict *dict;
 
   /* Font to use in var sheet and data sheet(s), NULL to use system default. */
   struct _PangoFontDescription *font;
@@ -73,6 +72,7 @@ struct _PsppireDataEditor
 
   /* UI manager for whichever var or data sheet is currently in use. */
   GtkUIManager *ui_manager;
+  GtkWidget *old_vbox_widget;
 };
 
 struct _PsppireDataEditorClass
@@ -82,7 +82,7 @@ struct _PsppireDataEditorClass
 
 
 GType          psppire_data_editor_get_type        (void);
-GtkWidget*     psppire_data_editor_new             (PsppireVarStore *, PsppireDataStore *);
+GtkWidget*     psppire_data_editor_new             (PsppireDict *, PsppireDataStore *);
 void           psppire_data_editor_show_grid       (PsppireDataEditor *, gboolean);
 void           psppire_data_editor_set_font        (PsppireDataEditor *, PangoFontDescription *);
 void           psppire_data_editor_split_window    (PsppireDataEditor *, gboolean );