X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fcrosstabs-dialog.c;h=8198520d6b686222f518dc4664d32d7db007b28d;hb=b94025a12799b6826a772731b8f58907dca2cf5c;hp=1fa3bff21a3c50dccf791daaa2ffd468c209dc93;hpb=7c2fa3735ac1115b6c1ad4b5e0613673de2faf4c;p=pspp-builds.git diff --git a/src/ui/gui/crosstabs-dialog.c b/src/ui/gui/crosstabs-dialog.c index 1fa3bff2..8198520d 100644 --- a/src/ui/gui/crosstabs-dialog.c +++ b/src/ui/gui/crosstabs-dialog.c @@ -424,20 +424,18 @@ crosstabs_dialog (GObject *o, gpointer data) gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (de)); g_object_get (vs, "dictionary", &dict, NULL); - g_object_set (source, "dictionary", dict, NULL); + g_object_set (source, "model", dict, NULL); set_dest_model (GTK_TREE_VIEW (dest_rows), dict); set_dest_model (GTK_TREE_VIEW (dest_cols), dict); - psppire_selector_set_subjects (PSPPIRE_SELECTOR (row_selector), - insert_source_row_into_tree_view, - NULL, - NULL); + psppire_selector_set_select_func (PSPPIRE_SELECTOR (row_selector), + insert_source_row_into_tree_view, + NULL); - psppire_selector_set_subjects (PSPPIRE_SELECTOR (col_selector), - insert_source_row_into_tree_view, - NULL, - NULL); + psppire_selector_set_select_func (PSPPIRE_SELECTOR (col_selector), + insert_source_row_into_tree_view, + NULL); cd.row_vars = GTK_TREE_VIEW (dest_rows); cd.col_vars = GTK_TREE_VIEW (dest_cols);