Re: gtk_notebook_insert_page Gtk-CRITICAL errors ....



On Wed, 2004-11-03 at 04:56, Vinod Joseph wrote:
Hi All with thanks to Iago

Thank - got it yesterday....

Another issue with notebook

My project is compiling and running fine except for some Gtk-CRITICAL
runtime error/warnings - whatever they r addressed as..i address them
as warnings in this email

5 of my 7 warnings are traced to this call in every page of the notebook

gtk_notebook_insert_page(notebook, ntable, label, 0);

I am not able to understand the error here.....

the warning is as below:
Gtk-CRITICAL **: file gtkwidget.c: line 3817 (gtk_widget_set_parent):
assertion `widget->parent == NULL' failed

Can anyone throw any pointers to the warning...

You're trying to reparent a widget that already have a parent. It seems
you're using a single widget into two different containers.

Are you using the same "ntable" or the same "label" for more than one
gtknotebook page ?

-- 
Iago Rubio



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