PsppireDictView: Change "dictionary" property to "model".
[pspp-builds.git] / src / ui / gui / weight-cases-dialog.c
index b3087159f941adf7d16b7d2dc1d66f7165ee38d5..03aea92def8045748c846bfd75626bb01e50d362 100644 (file)
@@ -132,21 +132,17 @@ weight_cases_dialog (GObject *o, gpointer data)
                    radiobutton1);
 
   
-  g_object_set (source, "dictionary", wcd.dict,
+  g_object_set (source, "model", wcd.dict,
                                 "selection-mode", GTK_SELECTION_SINGLE,
                                 "predicate", var_is_numeric,
                                 NULL);
 
   psppire_selector_set_subjects (PSPPIRE_SELECTOR (selector),
-                                source,
-                                entry,
                                 insert_source_row_into_entry,
                                 is_currently_in_entry,
                                 NULL
                                 );
 
-
-
   wcd.entry = GTK_ENTRY (entry);
   wcd.status = GTK_LABEL (status);
   wcd.off = GTK_TOGGLE_BUTTON (radiobutton1);