*
* PSPPIRE --- A Graphical User Interface for PSPP
* Copyright (C) 2006 Free Software Foundation
- * Written by John Darrington
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
}
-static const gchar *
+static gchar *
g_sheet_uniform_column_get_button_label(const GSheetColumn *geom, gint u)
{
- static gchar *label;
-
- g_free(label);
- label = g_strdup_printf("%d", u);
+ gchar *label = g_strdup_printf("%d", u);
return label;
}
static GtkJustification
g_sheet_uniform_column_get_justification(const GSheetColumn *geom, gint u)
{
- /*
- GSheetUniformColumn *ug = G_SHEET_UNIFORM_COLUMN(geom);
- */
-
return GTK_JUSTIFY_FILL;
}