On Sun, Dec 06, 2009 at 12:08:37PM -0800, Ian wrote: > Any ideas on this one? > > I'm getting this printed on every call to add a page to a GtkNotebook, > although the pages are added OK and the notebook displays fine: > > (hcpgui.exe:3628): Gtk-CRITICAL **: gtk_container_foreach: assertion > `GTK_IS_CONTAINER (container)' failed > > The assertions are printed when gtk_notebook_append_page is called in the > following sequence: > > viewWin = gtk_scrolled_window_new(NULL, NULL); > . > noteBook = gtk_notebook_new(); > lbl = gtk_label_new("some text"); > gtk_notebook_append_page(GTK_NOTEBOOK(noteBook), viewWin, lbl); And the backtrace is (use G_DEBUG=fatal-criticals)? I.e. how it gets to gtk_container_foreach()? Yeti _______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list