Re: what are gtk-critical errors?
- From: Murray Cumming <murrayc murrayc com>
- To: Matthias Clasen <maclas gmx de>
- Cc: gtk-list <gtk-list gnome org>
- Subject: Re: what are gtk-critical errors?
- Date: Mon, 16 Feb 2004 20:29:26 +0100
On Sun, 2004-02-15 at 23:45, Matthias Clasen wrote:
> > 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.
Also, running your program with the --g-fatal-warnings option when
debugging will help you to find the problem.
--
Murray Cumming
www.murrayc.com
murrayc murrayc com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]