X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fcorrelation-dialog.c;h=afc23447a7af3636e58b1b69b28f3864951e5b48;hb=3c7f102523ad679395c3baf023931ffe88f37d88;hp=3561170d74c83d5c62454a8dd17d39513ce56d41;hpb=64a18d9cb2657b541ebf39c9a064edc92101f2f3;p=pspp-builds.git diff --git a/src/ui/gui/correlation-dialog.c b/src/ui/gui/correlation-dialog.c index 3561170d..afc23447 100644 --- a/src/ui/gui/correlation-dialog.c +++ b/src/ui/gui/correlation-dialog.c @@ -74,7 +74,7 @@ dialog_state_valid (gpointer data) GtkTreeModel *liststore = gtk_tree_view_get_model (GTK_TREE_VIEW (corr->variables)); - if (gtk_tree_model_iter_n_children (liststore, NULL) >= 1) + if (gtk_tree_model_iter_n_children (liststore, NULL) > 1) return TRUE; return FALSE; @@ -130,7 +130,7 @@ correlation_dialog (PsppireDataWindow *de) case PSPPIRE_RESPONSE_PASTE: { gchar *syntax = generate_syntax (&rd); - paste_syntax_in_new_window (syntax); + paste_syntax_to_window (syntax); g_free (syntax); }