PsppireDictView: Change "dictionary" property to "model".
[pspp-builds.git] / src / ui / gui / examine-dialog.c
index 470c4dbbe37797ac23e23d3430741c56da0aa94b..79ba48e9b45bc05edbbf604f3b48919c2fed804d 100644 (file)
@@ -280,14 +280,12 @@ examine_dialog (GObject *o, gpointer data)
   gtk_window_set_transient_for (GTK_WINDOW (ex_d.opts_dialog), GTK_WINDOW (de));
 
   g_object_get (vs, "dictionary", &ex_d.dict, NULL);
-  g_object_set (source, "dictionary", ex_d.dict, NULL);
+  g_object_set (source, "model", ex_d.dict, NULL);
 
   set_dest_model (GTK_TREE_VIEW (ex_d.dep_list), ex_d.dict);
 
 
   psppire_selector_set_subjects (PSPPIRE_SELECTOR (dep_selector),
-                                source,
-                                ex_d.dep_list,
                                 insert_source_row_into_tree_view,
                                 NULL, NULL);
 
@@ -298,15 +296,11 @@ examine_dialog (GObject *o, gpointer data)
 
 
   psppire_selector_set_subjects (PSPPIRE_SELECTOR (fct_selector),
-                                source,
-                                ex_d.fct_list,
                                 insert_source_row_into_tree_view,
                                 NULL, NULL);
 
 
   psppire_selector_set_subjects (PSPPIRE_SELECTOR (id_selector),
-                                source,
-                                ex_d.id_entry,
                                 insert_source_row_into_entry,
                                 NULL, NULL);