On Thu, Aug 31, 2006 at 05:01:59AM -0700, Tintin72 wrote:
> 
>  >gtk_box_pack_start(GTK_BOX(myApp.pScrollBar), myApp.pDrawArea, TRUE, TRUE,
> 0);
> >a GtkScrolledWindow is not a GtkBox. This line causes the warnings:
> >GLib-GObject-WARNING **: invalid cast from `GtkScrolledWindow' to `GtkBox'
> >Gtk-CRITICAL **: gtk_box_pack_start: assertion `GTK_IS_BOX (box)' failed
> >I.e. the gtk_box_pack_start() function returns withou doing anything
> >at all. Don't you get these warnings?
> No, I use CodeBlocks IDE (with warning option checked).

This is a *run-time* warning.

Yeti


--
Anonyms eat their boogers.
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to