Rename the "model" property to "dictionary"
[pspp-builds.git] / src / ui / gui / find-dialog.c
index 130b25cfafe54db8f73eca358dada6da80f77b41..70f2085ca9dd76858596db6216d81aa5f498d0cc 100644 (file)
@@ -241,10 +241,9 @@ find_dialog (GObject *o, gpointer data)
   gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (de));
 
 
-  attach_dictionary_to_treeview (GTK_TREE_VIEW (source),
-                                fd.dict,
-                                GTK_SELECTION_SINGLE,
-                                NULL);
+  g_object_set (source, "dictionary", fd.dict, 
+       "selection-mode", GTK_SELECTION_SINGLE,
+       NULL);
 
   psppire_selector_set_subjects (PSPPIRE_SELECTOR (selector),
                                 source,