Re: how to define GError in g_io_channel_read_chars?
Christophe Fergeau <[email protected]> 19 Sep 2002 10:15:15 +0200
| Newsgroups | gmane.comp.gnome.lib.devel |
|---|---|
| Message-ID | <1032423315.19259.10.camel@bugsbunny> |
Le jeu 19/09/2002 =E0 10:02, chen.shengqi a =E9crit : > Dear sirs: > How should I define GError in g_io_channel_read_chars? should I defin= e it as : > GError *err; =20 > ... /* and malloc for it*/ > g_io_channel_read_chars(.....,&err)? > it seems that this dont work. > thanks I presume you are using GTK2. The doc about gerror situated at http://developer.gnome.org/doc/API/2.0/glib/glib-error-reporting.html is quite complete imo, I hope that's enough. Christophe