Renamed function to reflect change of purpose from previous commit
[pspp-builds.git] / src / ui / gui / t-test-independent-samples-dialog.c
index 90c5ab54870b9439548d61ff0fc5efed2d4cedc9..93102c058166f6785e685448ab790a6ae7c3b47f 100644 (file)
@@ -388,11 +388,10 @@ dialog_state_valid (gpointer data)
 
 /* Pops up the dialog box */
 void
-t_test_independent_samples_dialog (GObject *o, gpointer data)
+t_test_independent_samples_dialog (PsppireDataWindow *de)
 {
   struct tt_indep_samples_dialog tt_d;
   gint response;
-  PsppireDataWindow *de = PSPPIRE_DATA_WINDOW (data);
 
   PsppireVarStore *vs = NULL;
 
@@ -468,7 +467,7 @@ t_test_independent_samples_dialog (GObject *o, gpointer data)
     case PSPPIRE_RESPONSE_PASTE:
       {
        gchar *syntax = generate_syntax (&tt_d);
-        paste_syntax_in_new_window (syntax);
+        paste_syntax_to_window (syntax);
        g_free (syntax);
       }
       break;