X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fcompute-dialog.c;h=ba5871a822f8c986ce9dc0cc224ab4bdb69ec1c4;hb=c3e2ab6b50eb3b3c7e0852f2a4e2122f695714ff;hp=7269ab79750e76c3ed2cf5c7431045d5506545c3;hpb=88cddbfae2dba14cd7e4225961aa88c3e6fe4445;p=pspp-builds.git diff --git a/src/ui/gui/compute-dialog.c b/src/ui/gui/compute-dialog.c index 7269ab79..ba5871a8 100644 --- a/src/ui/gui/compute-dialog.c +++ b/src/ui/gui/compute-dialog.c @@ -396,11 +396,10 @@ compute_dialog (GObject *o, gpointer data) gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (de)); - - attach_dictionary_to_treeview (GTK_TREE_VIEW (dict_view), - vs->dict, - GTK_SELECTION_SINGLE, NULL); - + g_object_set (dict_view, + "model", vs->dict, + "selection-mode", GTK_SELECTION_SINGLE, + NULL); psppire_selector_set_subjects (PSPPIRE_SELECTOR (var_selector), dict_view, syntax_area,