Re: How to use GError?



Luis Velez <luis hpcf upr edu> writes:
> I am trying to use gdk_pixbuf_save function but this function uses a
> GError as a parameter. So I create the GError and use the
> g_error_new_literal function to give it a domain, code and etc... The
> problem is that even including the glib.h GError gives me the compiling
> error of undeclared. Any help would be a bliss.
> Thanks.

How about, say, reading the documentation. ;-)

  http://developer.gnome.org/doc/API/2.0/glib/glib-error-reporting.html

I love it when I wrote a huge M to suggest RTF. ;-)

Havoc



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]