projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
i18n: Test converting between unknown encodings too.
[pspp-builds.git]
/
src
/
ui
/
gui
/
t-test-paired-samples.c
diff --git
a/src/ui/gui/t-test-paired-samples.c
b/src/ui/gui/t-test-paired-samples.c
index cf2becd729c518643e9ddad1d83ab8049cdbf2e1..1b1c25113ba7c77034ea6d482a469d61211f1639 100644
(file)
--- a/
src/ui/gui/t-test-paired-samples.c
+++ b/
src/ui/gui/t-test-paired-samples.c
@@
-17,7
+17,6
@@
#include <config.h>
#include <gtk/gtk.h>
#include <config.h>
#include <gtk/gtk.h>
-#include <language/syntax-string-source.h>
#include "psppire-data-window.h"
#include "psppire-selector.h"
#include "psppire-data-window.h"
#include "psppire-selector.h"
@@
-156,11
+155,10
@@
select_as_pair_member (GtkTreeIter source_iter,
/* Pops up the dialog box */
void
/* Pops up the dialog box */
void
-t_test_paired_samples_dialog (
gpointer data
)
+t_test_paired_samples_dialog (
PsppireDataWindow *de
)
{
struct tt_paired_samples_dialog tt_d;
gint response;
{
struct tt_paired_samples_dialog tt_d;
gint response;
- PsppireDataWindow *de = PSPPIRE_DATA_WINDOW (data);
PsppireVarStore *vs = NULL;
PsppireVarStore *vs = NULL;
@@
-211,22
+209,10
@@
t_test_paired_samples_dialog (gpointer data)
switch (response)
{
case GTK_RESPONSE_OK:
switch (response)
{
case GTK_RESPONSE_OK:
- {
- gchar *syntax = generate_syntax (&tt_d);
-
- struct getl_interface *sss = create_syntax_string_source (syntax);
- execute_syntax (sss);
-
- g_free (syntax);
- }
+ g_free (execute_syntax_string (generate_syntax (&tt_d)));
break;
case PSPPIRE_RESPONSE_PASTE:
break;
case PSPPIRE_RESPONSE_PASTE:
- {
- gchar *syntax = generate_syntax (&tt_d);
- paste_syntax_in_new_window (syntax);
-
- g_free (syntax);
- }
+ g_free (paste_syntax_to_window (generate_syntax (&tt_d)));
break;
default:
break;
break;
default:
break;