Added custom psppire-selector widget.
[pspp-builds.git] / src / ui / gui / helper.c
index e14ab06ad76a5a7d0ebc39ef5b2f70a941de1016..bd6e2198f4efc7ca276dc2b04cc79645e4338534 100644 (file)
@@ -90,8 +90,9 @@ get_widget_assert (GladeXML *xml, const gchar *name)
   return w;
 }
 
-/* Converts a string in the pspp locale to utf-8 */
-char *
+/* Converts a string in the pspp locale to utf-8.
+   The return value must be freed when no longer required*/
+gchar *
 pspp_locale_to_utf8 (const gchar *text, gssize len, GError **err)
 {
   return recode_string (CONV_PSPP_TO_UTF8, text, len);