X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-data-editor.c;h=cab0f755bc5a20f8a1eeee9162ff1b4f6ff60d9f;hb=be5dc743c6dca9293d3559b27e74c83bec57eaa7;hp=dcc2cdf8e7ba58be3571b20628ce5d7f9dc2b053;hpb=aae795eeb6eadf1381f4578b22d04001e501d32c;p=pspp-builds.git diff --git a/src/ui/gui/psppire-data-editor.c b/src/ui/gui/psppire-data-editor.c index dcc2cdf8..cab0f755 100644 --- a/src/ui/gui/psppire-data-editor.c +++ b/src/ui/gui/psppire-data-editor.c @@ -361,13 +361,13 @@ delete_variable_callback (PsppireDict *dict, gint posn, psppire_axis_impl_delete (var_vaxis, posn, 1); - for (i = 0 ; i < 4 ; ++i) - { - PsppireAxisImpl *haxis; - g_object_get (de->data_sheet[i], "horizontal-axis", &haxis, NULL); - psppire_axis_impl_delete (haxis, posn, 1); - } + { + PsppireAxisImpl *haxis; + g_object_get (de->data_sheet[0], "horizontal-axis", &haxis, NULL); + + psppire_axis_impl_delete (haxis, posn, 1); + } }