PsppireDictView: Change "dictionary" property to "model".
[pspp-builds.git] / src / ui / gui / compute-dialog.c
index c09c7571936fa4e4ca493bd0647b2586629caa6d..bac6216729350cd040ab447a4191e09b6f49e168 100644 (file)
@@ -398,12 +398,11 @@ compute_dialog (GObject *o, gpointer data)
   gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (de));
 
   
-  g_object_set (dict_view, "dictionary", scd.dict,
+  g_object_set (dict_view, "model", scd.dict,
                "selection-mode", GTK_SELECTION_SINGLE,
                NULL);
 
   psppire_selector_set_subjects (PSPPIRE_SELECTOR (var_selector),
-                                dict_view, syntax_area,
                                 insert_source_row_into_text_view,
                                 NULL,
                                 NULL);
@@ -412,7 +411,6 @@ compute_dialog (GObject *o, gpointer data)
   function_list_populate (GTK_TREE_VIEW (functions));
 
   psppire_selector_set_subjects (PSPPIRE_SELECTOR (func_selector),
-                                functions, syntax_area,
                                 insert_function_into_syntax_area,
                                 NULL,
                                 NULL);