]> Pileus Git - ~andy/gtk/commit
GtkFrame: Fix a casting in the compute_child_allocation() method
authorClaudio Saavedra <csaavedra@igalia.com>
Tue, 13 Dec 2011 17:25:15 +0000 (19:25 +0200)
committerClaudio Saavedra <csaavedra@igalia.com>
Tue, 13 Dec 2011 18:26:30 +0000 (20:26 +0200)
commit064204da9b4d17c66760c2b57fd20b4ca510d89d
treed232ef262a4e83934f7970f15905dc326445c9ee
parenta7f3a9ff7499bf001a2aca0b6ae4d73081615caf
GtkFrame: Fix a casting in the compute_child_allocation() method

The casting used to calculate the child allocation is confusing MAX().
As a result, width and height end up with negative values, which makes no sense.

https://bugzilla.gnome.org/show_bug.cgi?id=666109
gtk/gtkframe.c