bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] Gtk-CRITICAL **


From: Jon Kinsey
Subject: Re: [Bug-gnubg] Gtk-CRITICAL **
Date: Tue, 16 Mar 2004 16:56:12 +0000
User-agent: Mozilla Thunderbird 0.5 (Windows/20040207)

Jon Kinsey wrote:

Joseph Heled wrote:

I am getting those (non fatal) warnings on GNUbg startup.

Breakpoint 3, SetToolbarStyle (value=2) at gtkgame.c:2578

(gnubg:5514): Gtk-CRITICAL **: file gtkcontainer.c: line 1284 (gtk_container_foreach): assertion `GTK_IS_CONTAINER (container)' failed

(gnubg:5514): Gtk-CRITICAL **: file gtkcontainer.c: line 1284 (gtk_container_foreach): assertion `GTK_IS_CONTAINER (container)' failed

(gnubg:5514): Gtk-CRITICAL **: file gtkcontainer.c: line 1284 (gtk_container_foreach): assertion `GTK_IS_CONTAINER (container)' failed

Can someone with GTK experience tell me why?


This is in the code I added to change the toolbar style. Do you get more warnings when changing the style of the toolbar (from the window menu) - and does it work.

If it works perhaps I'm setting the style too early on startup, if it doesn't perhaps I've done something wrong for gtk2. I'll try to check it with gtk2, I've lost my gtk2 setup though...

I've managed to get gtk2 working here but I didn't get the warnings.

The code is going through each item on the toolbar and I think the separators are causing the problem with your particular version of gtk.

I've checked in some slightly different code to loop through the toolbar (gtkgame.c), give it a go and it might remove the warnings.

Jon





reply via email to

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