g_locale_to_utf8()???
- From: Murilo Tuvani <murilo_tuvani yahoo com br>
- To: LIST GTK <gtk-app-devel-list gnome org>
- Subject: g_locale_to_utf8()???
- Date: Thu, 26 Feb 2004 14:51:33 -0300 (ART)
how do I use this function, I'm trying to use this
char *texto;
int lido;
gsize *tamanho;
lido=fread(texto, sizeof(char), aributos->st_size,
arquivo);
texto[lido]='\0';
g_locale_to_utf8(texto, lido, tamanho, NULL);
but it says
callbacks.c:5614: too few arguments to function
`g_locale_to_utf8'
if I use
struct Gerror **errors;
g_locale_to_utf8(texto, lido, tamanho, errors);
when I compile it says:
callbacks.c:5614: warning: passing arg 4 of
`g_locale_to_utf8' from incompatible pointer type
______________________________________________________________________
Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora:
http://br.yahoo.com/info/mail.html
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]