GNOME Bugzilla – Bug 605199
Contradiction in the description of function gtk_container_set_border_width() and property 'border-width'
Last modified: 2010-09-08 23:27:11 UTC
Created attachment 150219 [details] patch to the 'border-width' property It is written in the description of the function gtk_container_set_border_width() that valid values for the second argument of the function are in the range 0-65535, but in the description of the property 'border-width' is written that allowed values are <= G_MAXINT. And indeed we can't set to the property 'border-width' value bigger than 65535, it'll be truncated to 16 bit value Also reported at http://linuxtesting.org/results/report?num=D0145
This is an ABI change, not just documentation. We should probably do this in 2.9.
Being able to set a widgets border to 2^21 is not in any way a relevant ABI thats worth preserving.
Created attachment 151162 [details] [review] Limit GtkContainer::border-width to 65535
Pushed to master.