X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fui%2Fgui%2Fvar-display.c;h=086b5d618421c96e91f1f53d0664050e59eb37fa;hb=ad4f9604cc877272fe504234e8b9078a7ce76e17;hp=72b5731ca90e956388b790f23780cf98449bdea1;hpb=66ada89a69ed73a1a15abfbd9bffe4cdf9bf307a;p=pspp diff --git a/src/ui/gui/var-display.c b/src/ui/gui/var-display.c index 72b5731ca9..086b5d6184 100644 --- a/src/ui/gui/var-display.c +++ b/src/ui/gui/var-display.c @@ -1,3 +1,21 @@ +/* +PSPP - a program for statistical analysis. +Copyright (C) 2017 Free Software Foundation, Inc. + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + #include #include "var-display.h" @@ -16,18 +34,8 @@ static const gchar none[] = N_("None"); -const gchar * -measure_to_string (const struct variable *var, GError **err) -{ - const gint measure = var_get_measure (var); - - g_assert (measure < n_MEASURES); - return gettext (measures[measure]); -} - - gchar * -missing_values_to_string (const PsppireDict *dict, const struct variable *pv, GError **err) +missing_values_to_string (const struct variable *pv, GError **err) { gchar *s; const struct missing_values *miss = var_get_missing_values (pv);