Merge commit 'origin/stable'
[pspp-builds.git] / src / ui / gui / weight-cases-dialog.c
index 8cfae24b74bded8b517a85784c3214bab3852d36..11b528ba76d1ebf2f3f06cea96cabad8d8eac7f9 100644 (file)
@@ -19,7 +19,7 @@
 #include "weight-cases-dialog.h"
 #include "psppire-selector.h"
 #include "psppire-dialog.h"
-#include "helper.h"
+#include "executor.h"
 #include "psppire-data-window.h"
 #include "dict-display.h"
 #include <language/syntax-string-source.h>
@@ -130,7 +130,7 @@ weight_cases_dialog (GObject *o, gpointer data)
   g_signal_connect (selector, "de-selected", G_CALLBACK (on_deselect),
                    radiobutton1);
 
-  g_object_set (source, "model", vs->dict,
+  g_object_set (source, "dictionary", vs->dict,
                                 "selection-mode", GTK_SELECTION_SINGLE,
                                 "predicate", var_is_numeric,
                                 NULL);