Plugged memory leaks in GUI, and converted most of the strings to UTF8, so that
[pspp] / lib / gtksheet / gsheet-hetero-column.c
index e4235656bbad76708a1235cd458b8b2ccce93d7e..1285e9f237c16be56d468754273e252c64e5fcbc 100644 (file)
@@ -128,12 +128,12 @@ g_sheet_hetero_column_get_visibility(const GSheetColumn *geom, gint u)
 
 
 
-static const gchar *
+static gchar *
 g_sheet_hetero_column_get_button_label(const GSheetColumn *geom, gint u)
 {
   GSheetHeteroColumn *hg = G_SHEET_HETERO_COLUMN(geom);
 
-  return hg->col[u].button.label;
+  return g_locale_to_utf8(hg->col[u].button.label, -1, 0, 0, 0);
 }