On Wed, Jan 13, 2010 at 04:48:29PM +0100, Gabriele Greco wrote:
> ... I've found there are a lot
> of other sources in the net where a GError is freed with g_free, I think
> improving the documentation of the functions that use a GError as input
> parameter may help programmers do not write wrong code in this situation.

The proper handling of GErrors is described in great detail in the
GError documentation.

I don't think it is reasonable to explain this in the documentation of
every function that uses GError to report errors as there are almost 80
of them just in Gtk+ (and over 400 in GLib, and many more elsewhere).

Yeti

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to