Re: what are gtk-critical errors?



> i often see errors that look like:
> 
>   Gtk-CRITICAL **: file gtkpixmap.c: line 97 (gtk_pixmap_new): assertion
>   `val != NULL' failed.
>
> at this point, i realize they're harmless.  but i'm still curious about
> what causes them.  what's the usual cause for errors like this?

No, they're not harmless. There's a bug in your code, and GTK+ is just graceful 
by hinting you about it. It even tells you what went wrong: One of the parameters
given to gtk_pixmap_new() was NULL, which isn't allowed.

Matthias







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