chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Gtk with easyFFI


From: William Ramsay
Subject: Re: [Chicken-users] Gtk with easyFFI
Date: Sat, 02 Jun 2007 08:20:02 -0400
User-agent: Thunderbird 1.5.0.10 (X11/20070221)



felix winkelmann wrote:
On 6/1/07, William Ramsay <address@hidden> wrote:
Hi,

I'm working extensively with Gtk+ in Chicken, using easyFFI.
Everything is working fine as far as my program goes, but I have
assertion error messages from Gtk at run time that I don't
understand.     For instance, if I put up a blank GtkEntry widget I get
an assertion error:

(sched:6186): Gtk-CRITICAL **: gtk_entry_set_text: assertion `text !=
NULL' failed

As I say, everything works as expected, but the error appears every
time.

I also get:

(sched:6186): Gtk-CRITICAL **: gtk_box_pack_start: assertion
`child->parent == NULL' failed

which seems to be coming from toolbar buttons.    I get the error every
time the screen is drawn or redrawn, but the buttons look and work fine.


But the warnings shown are valid, or not? I mean, is it possible to
correlate these messages to the C code generated by compiler?

In cannot find any assert commands in the C code. I don't fully understand what (sched:6186) is telling me. The number changes each time I run the program. Sched is the name of the program. At this point I have no idea how to correlate the message to the code other than by not adding the widgets that seem to be affecting the message. The program is never terminated by the assertion failure. The only outcome is that the message is printed. The program appears to run fine until it is closed.

Bill

cheers,
felix





reply via email to

[Prev in Thread] Current Thread [Next in Thread]