GNOME Bugzilla – Bug 699633
GtkWindow: critical messages when negative size allocations
Last modified: 2013-05-04 23:22:44 UTC
I sometimes get critical messages about negative size allocation. I've found the origin of the bug, a patch is coming soon.
Created attachment 243247 [details] [review] GtkWindow: bug fix about negative size allocation border_width is a guint. If the width is 1 and the border_width is also 1, the result is normally MAX (1, -1) = 1. But instead here is what happened: MAX (1, 4294967295) = 4294967295 --> cast to gint --> -1