#include "data-editor.h"
#include "dict-display.h"
#include <data/value.h>
+#include <data/format.h>
#include <data/datasheet.h>
#include <data/data-in.h>
#include "psppire-data-store.h"
if ( x != -1)
{
- gtk_notebook_set_page (GTK_NOTEBOOK (fd->de->data_editor),
- PSPPIRE_DATA_EDITOR_DATA_VIEW);
+ gtk_notebook_set_current_page (GTK_NOTEBOOK (fd->de->data_editor),
+ PSPPIRE_DATA_EDITOR_DATA_VIEW);
g_object_set (fd->de->data_editor,
"current-case", x,
const union value *v)
{
const struct value_comparator *vc = (const struct value_comparator *) cmptr;
- return 0 == compare_values (v, vc->pattern, var_get_width (cmptr->var));
+ return 0 == compare_values (v, vc->pattern, cmptr->var);
}