Fixed some memory leaks in GUI.
[pspp-builds.git] / src / ui / gui / helper.h
index 3ec352d945f490705e6cce4b8cf01d6a22758b97..5776c2b54714ee17aaec15bf5a28af845bc6ffe5 100644 (file)
@@ -39,7 +39,7 @@ gboolean text_to_value(const gchar *text, union value *v,
 GtkWidget * get_widget_assert(GladeXML *xml, const gchar *name);
 
 /* Converts a string in the pspp locale to utf-8 */
-const char * pspp_locale_to_utf8(const gchar *text, gssize len, GError **err);
+char * pspp_locale_to_utf8(const gchar *text, gssize len, GError **err);
 
 
 #endif