X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fui%2Fgui%2Fhelper.h;h=5776c2b54714ee17aaec15bf5a28af845bc6ffe5;hb=e294a372f351d7105c21a2db58022af8b119aa64;hp=6097041e04af95391cfcf3328f34c8c5027a9607;hpb=dcf9b154cbcaa35c3d8459a201b77eec8bcb30bd;p=pspp-builds.git diff --git a/src/ui/gui/helper.h b/src/ui/gui/helper.h index 6097041e..5776c2b5 100644 --- a/src/ui/gui/helper.h +++ b/src/ui/gui/helper.h @@ -22,8 +22,8 @@ #ifndef __MISC_H__ #define __MISC_H__ -#include "value.h" -#include "format.h" +#include +#include #include #include @@ -38,4 +38,8 @@ 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 */ +char * pspp_locale_to_utf8(const gchar *text, gssize len, GError **err); + + #endif