X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-dialog-action-scatterplot.c;h=2e001e1b6d84a7267c68c1a7206f6eaa1f9dd948;hb=76f722cdfd6475f8ae2d98139ea596adfcdb47be;hp=e59353c973a2f675f64e48163f02960c4d397af8;hpb=2d82411f69f2a87a04ed22de78717bacf7d342de;p=pspp diff --git a/src/ui/gui/psppire-dialog-action-scatterplot.c b/src/ui/gui/psppire-dialog-action-scatterplot.c index e59353c973..2e001e1b6d 100644 --- a/src/ui/gui/psppire-dialog-action-scatterplot.c +++ b/src/ui/gui/psppire-dialog-action-scatterplot.c @@ -46,11 +46,11 @@ generate_syntax (PsppireDialogAction *act) ds_init_cstr (&dss, "GRAPH SCATTERPLOT(BIVARIATE) = "); - ds_put_cstr (&dss, gtk_entry_get_text (GTK_ENTRY (ow->y_axis))); + ds_put_cstr (&dss, gtk_entry_get_text (GTK_ENTRY (ow->x_axis))); ds_put_cstr (&dss, " WITH "); - ds_put_cstr (&dss, gtk_entry_get_text (GTK_ENTRY (ow->x_axis))); + ds_put_cstr (&dss, gtk_entry_get_text (GTK_ENTRY (ow->y_axis))); ds_put_cstr (&dss, ".\n"); @@ -91,7 +91,7 @@ refresh (PsppireDialogAction *rd_) static void -psppire_dialog_action_scatterplot_activate (GtkAction *a) +psppire_dialog_action_scatterplot_activate (PsppireDialogAction *a) { PsppireDialogAction *pda = PSPPIRE_DIALOG_ACTION (a); PsppireDialogActionScatterplot *act = PSPPIRE_DIALOG_ACTION_SCATTERPLOT (a);