Re: Unsolved clipping problem
- From: David Nečas (Yeti) <yeti physics muni cz>
- To: gtk-app-devel-list gnome org
- Subject: Re: Unsolved clipping problem
- Date: Sat, 2 Sep 2006 17:23:17 +0200
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.
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]