From: John Darrington Date: Sun, 16 May 2010 11:30:38 +0000 (+0200) Subject: Renamed function to reflect change of purpose from previous commit X-Git-Tag: v0.7.5~25^2~3 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d7bacdd25f6404e10e8e5de894e875235e43cfa;p=pspp-builds.git Renamed function to reflect change of purpose from previous commit --- diff --git a/src/ui/gui/comments-dialog.c b/src/ui/gui/comments-dialog.c index 768fe476..306e3b40 100644 --- a/src/ui/gui/comments-dialog.c +++ b/src/ui/gui/comments-dialog.c @@ -177,7 +177,7 @@ comments_dialog (PsppireDataWindow *de) { gchar *syntax = generate_syntax (&cd); - paste_syntax_in_new_window (syntax); + paste_syntax_to_window (syntax); g_free (syntax); } diff --git a/src/ui/gui/compute-dialog.c b/src/ui/gui/compute-dialog.c index d70bdcce..7add5379 100644 --- a/src/ui/gui/compute-dialog.c +++ b/src/ui/gui/compute-dialog.c @@ -448,7 +448,7 @@ compute_dialog (PsppireDataWindow *de) { gchar *syntax = generate_syntax (&scd); - paste_syntax_in_new_window (syntax); + paste_syntax_to_window (syntax); g_free (syntax); } diff --git a/src/ui/gui/correlation-dialog.c b/src/ui/gui/correlation-dialog.c index 3561170d..04e11ba1 100644 --- a/src/ui/gui/correlation-dialog.c +++ b/src/ui/gui/correlation-dialog.c @@ -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); } diff --git a/src/ui/gui/crosstabs-dialog.c b/src/ui/gui/crosstabs-dialog.c index 4690a0b2..7d94e375 100644 --- a/src/ui/gui/crosstabs-dialog.c +++ b/src/ui/gui/crosstabs-dialog.c @@ -477,7 +477,7 @@ crosstabs_dialog (PsppireDataWindow *de) { gchar *syntax = generate_syntax (&cd); - paste_syntax_in_new_window (syntax); + paste_syntax_to_window (syntax); g_free (syntax); } diff --git a/src/ui/gui/descriptives-dialog.c b/src/ui/gui/descriptives-dialog.c index fd1fe559..5a774902 100644 --- a/src/ui/gui/descriptives-dialog.c +++ b/src/ui/gui/descriptives-dialog.c @@ -270,7 +270,7 @@ descriptives_dialog (PsppireDataWindow *de) case PSPPIRE_RESPONSE_PASTE: { gchar *syntax = generate_syntax (&scd); - paste_syntax_in_new_window (syntax); + paste_syntax_to_window (syntax); g_free (syntax); } break; diff --git a/src/ui/gui/examine-dialog.c b/src/ui/gui/examine-dialog.c index ac4c455c..87a048ac 100644 --- a/src/ui/gui/examine-dialog.c +++ b/src/ui/gui/examine-dialog.c @@ -314,7 +314,7 @@ examine_dialog (PsppireDataWindow *de) case PSPPIRE_RESPONSE_PASTE: { gchar *syntax = generate_syntax (&ex_d); - paste_syntax_in_new_window (syntax); + paste_syntax_to_window (syntax); g_free (syntax); } break; diff --git a/src/ui/gui/factor-dialog.c b/src/ui/gui/factor-dialog.c index 90d3b39c..83671fb0 100644 --- a/src/ui/gui/factor-dialog.c +++ b/src/ui/gui/factor-dialog.c @@ -285,7 +285,7 @@ factor_dialog (PsppireDataWindow *dw) case PSPPIRE_RESPONSE_PASTE: { gchar *syntax = generate_syntax (&fd); - paste_syntax_in_new_window (syntax); + paste_syntax_to_window (syntax); g_free (syntax); } diff --git a/src/ui/gui/frequencies-dialog.c b/src/ui/gui/frequencies-dialog.c index e80bc23a..2bbb5546 100644 --- a/src/ui/gui/frequencies-dialog.c +++ b/src/ui/gui/frequencies-dialog.c @@ -582,7 +582,7 @@ frequencies_dialog (PsppireDataWindow *de) case PSPPIRE_RESPONSE_PASTE: { gchar *syntax = generate_syntax (&fd); - paste_syntax_in_new_window (syntax); + paste_syntax_to_window (syntax); g_free (syntax); } break; diff --git a/src/ui/gui/helper.c b/src/ui/gui/helper.c index e6f7c672..492797db 100644 --- a/src/ui/gui/helper.c +++ b/src/ui/gui/helper.c @@ -286,7 +286,7 @@ on_delete (GtkWindow *window, GdkEvent *e, GtkWindow **addr) } void -paste_syntax_in_new_window (const gchar *syntax) +paste_syntax_to_window (const gchar *syntax) { static GtkWidget *the_syntax_pasteboard = NULL; diff --git a/src/ui/gui/helper.h b/src/ui/gui/helper.h index ec142c8e..77abc1d8 100644 --- a/src/ui/gui/helper.h +++ b/src/ui/gui/helper.h @@ -29,7 +29,7 @@ #include "gl/configmake.h" -void paste_syntax_in_new_window (const gchar *syntax); +void paste_syntax_to_window (const gchar *syntax); struct fmt_spec; diff --git a/src/ui/gui/oneway-anova-dialog.c b/src/ui/gui/oneway-anova-dialog.c index dde60e89..0d6f5aa5 100644 --- a/src/ui/gui/oneway-anova-dialog.c +++ b/src/ui/gui/oneway-anova-dialog.c @@ -223,7 +223,7 @@ oneway_anova_dialog (PsppireDataWindow *de) case PSPPIRE_RESPONSE_PASTE: { gchar *syntax = generate_syntax (&ow); - paste_syntax_in_new_window (syntax); + paste_syntax_to_window (syntax); g_free (syntax); } diff --git a/src/ui/gui/rank-dialog.c b/src/ui/gui/rank-dialog.c index c7869906..fa998b47 100644 --- a/src/ui/gui/rank-dialog.c +++ b/src/ui/gui/rank-dialog.c @@ -334,7 +334,7 @@ rank_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); } break; diff --git a/src/ui/gui/recode-dialog.c b/src/ui/gui/recode-dialog.c index 33fa76eb..0a3ab0da 100644 --- a/src/ui/gui/recode-dialog.c +++ b/src/ui/gui/recode-dialog.c @@ -1097,7 +1097,7 @@ recode_dialog (PsppireDataWindow *de, gboolean diff) case PSPPIRE_RESPONSE_PASTE: { gchar *syntax = generate_syntax (&rd); - paste_syntax_in_new_window (syntax); + paste_syntax_to_window (syntax); g_free (syntax); } diff --git a/src/ui/gui/regression-dialog.c b/src/ui/gui/regression-dialog.c index 71d1f5b1..d6997f74 100644 --- a/src/ui/gui/regression-dialog.c +++ b/src/ui/gui/regression-dialog.c @@ -300,7 +300,7 @@ regression_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); } diff --git a/src/ui/gui/reliability-dialog.c b/src/ui/gui/reliability-dialog.c index e701956b..8587b723 100644 --- a/src/ui/gui/reliability-dialog.c +++ b/src/ui/gui/reliability-dialog.c @@ -173,7 +173,7 @@ reliability_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); } diff --git a/src/ui/gui/roc-dialog.c b/src/ui/gui/roc-dialog.c index 41c55712..45972d54 100644 --- a/src/ui/gui/roc-dialog.c +++ b/src/ui/gui/roc-dialog.c @@ -174,7 +174,7 @@ roc_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); } diff --git a/src/ui/gui/select-cases-dialog.c b/src/ui/gui/select-cases-dialog.c index b56e5f61..244ad9d3 100644 --- a/src/ui/gui/select-cases-dialog.c +++ b/src/ui/gui/select-cases-dialog.c @@ -361,7 +361,7 @@ select_cases_dialog (PsppireDataWindow *de) case PSPPIRE_RESPONSE_PASTE: { gchar *syntax = generate_syntax (&scd); - paste_syntax_in_new_window (syntax); + paste_syntax_to_window (syntax); g_free (syntax); } diff --git a/src/ui/gui/sort-cases-dialog.c b/src/ui/gui/sort-cases-dialog.c index 92ef492d..8252e320 100644 --- a/src/ui/gui/sort-cases-dialog.c +++ b/src/ui/gui/sort-cases-dialog.c @@ -141,7 +141,7 @@ sort_cases_dialog (PsppireDataWindow *de) case PSPPIRE_RESPONSE_PASTE: { gchar *syntax = generate_syntax (&scd); - paste_syntax_in_new_window (syntax); + paste_syntax_to_window (syntax); g_free (syntax); } diff --git a/src/ui/gui/split-file-dialog.c b/src/ui/gui/split-file-dialog.c index 5acc9c50..9088046e 100644 --- a/src/ui/gui/split-file-dialog.c +++ b/src/ui/gui/split-file-dialog.c @@ -217,7 +217,7 @@ split_file_dialog (PsppireDataWindow *de) case PSPPIRE_RESPONSE_PASTE: { gchar *syntax = generate_syntax (&sfd); - paste_syntax_in_new_window (syntax); + paste_syntax_to_window (syntax); g_free (syntax); } diff --git a/src/ui/gui/t-test-independent-samples-dialog.c b/src/ui/gui/t-test-independent-samples-dialog.c index dec4e769..93102c05 100644 --- a/src/ui/gui/t-test-independent-samples-dialog.c +++ b/src/ui/gui/t-test-independent-samples-dialog.c @@ -467,7 +467,7 @@ t_test_independent_samples_dialog (PsppireDataWindow *de) 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; diff --git a/src/ui/gui/t-test-one-sample.c b/src/ui/gui/t-test-one-sample.c index 3f13a9b7..ea92a921 100644 --- a/src/ui/gui/t-test-one-sample.c +++ b/src/ui/gui/t-test-one-sample.c @@ -179,7 +179,7 @@ t_test_one_sample_dialog (PsppireDataWindow *de) { gchar *syntax = generate_syntax (&tt_d); - paste_syntax_in_new_window (syntax); + paste_syntax_to_window (syntax); g_free (syntax); } diff --git a/src/ui/gui/t-test-paired-samples.c b/src/ui/gui/t-test-paired-samples.c index 4847cb09..5f226d4e 100644 --- a/src/ui/gui/t-test-paired-samples.c +++ b/src/ui/gui/t-test-paired-samples.c @@ -222,7 +222,7 @@ t_test_paired_samples_dialog (PsppireDataWindow *de) case PSPPIRE_RESPONSE_PASTE: { gchar *syntax = generate_syntax (&tt_d); - paste_syntax_in_new_window (syntax); + paste_syntax_to_window (syntax); g_free (syntax); } diff --git a/src/ui/gui/text-data-import-dialog.c b/src/ui/gui/text-data-import-dialog.c index 03f4f969..3c3089f1 100644 --- a/src/ui/gui/text-data-import-dialog.c +++ b/src/ui/gui/text-data-import-dialog.c @@ -268,7 +268,7 @@ text_data_import_assistant (GtkWindow *parent_window) case PSPPIRE_RESPONSE_PASTE: { char *syntax = generate_syntax (ia); - paste_syntax_in_new_window (syntax); + paste_syntax_to_window (syntax); free (syntax); } break; diff --git a/src/ui/gui/transpose-dialog.c b/src/ui/gui/transpose-dialog.c index d366605c..ebc34bd8 100644 --- a/src/ui/gui/transpose-dialog.c +++ b/src/ui/gui/transpose-dialog.c @@ -123,7 +123,7 @@ transpose_dialog (PsppireDataWindow *de) case PSPPIRE_RESPONSE_PASTE: { gchar *syntax = generate_syntax (dict, xml); - paste_syntax_in_new_window (syntax); + paste_syntax_to_window (syntax); g_free (syntax); } diff --git a/src/ui/gui/variable-info-dialog.c b/src/ui/gui/variable-info-dialog.c index fa4343a9..521864f4 100644 --- a/src/ui/gui/variable-info-dialog.c +++ b/src/ui/gui/variable-info-dialog.c @@ -196,7 +196,7 @@ variable_info_dialog (PsppireDataWindow *de) case PSPPIRE_RESPONSE_PASTE: { gchar *syntax = generate_syntax (PSPPIRE_DICT_VIEW (treeview)); - paste_syntax_in_new_window (syntax); + paste_syntax_to_window (syntax); g_free (syntax); } diff --git a/src/ui/gui/weight-cases-dialog.c b/src/ui/gui/weight-cases-dialog.c index d09915e0..fc50aea9 100644 --- a/src/ui/gui/weight-cases-dialog.c +++ b/src/ui/gui/weight-cases-dialog.c @@ -164,7 +164,7 @@ weight_cases_dialog (PsppireDataWindow *de) case PSPPIRE_RESPONSE_PASTE: { gchar *syntax = generate_syntax (&wcd); - paste_syntax_in_new_window (syntax); + paste_syntax_to_window (syntax); g_free (syntax); } break;