GNOME Bugzilla – Bug 772683
Usage of FALSE instead of gint in glarea demo
Last modified: 2016-10-14 15:16:23 UTC
in the gtk-demo file gtk-demo/glarea.c, at the line 336 :
box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, FALSE);
the documentation says :
GtkWidget * gtk_box_new (GtkOrientation orientation, gint spacing);
I do know that FALSE is 0, but :
1. this code is a demo and it will be read by new users, I think that it can be misleading.
2. It seems that its the only demo that use FALSE instead of 0 (pb of consistency).