]> Pileus Git - ~andy/gtk/commit
Fixed hangs in TextView and ToolPalette
authorTristan Van Berkom <tristan.van.berkom@gmail.com>
Sat, 30 Oct 2010 14:10:43 +0000 (23:10 +0900)
committerTristan Van Berkom <tristan.van.berkom@gmail.com>
Sat, 30 Oct 2010 14:37:24 +0000 (23:37 +0900)
commit972e0779660b1d59ba44fabf1a79b3f438e4c1b6
tree24748535718b6e805fa8367a3a92a7ea0b7b0530
parenta3b4681f9f7c241ee2725783d64fc2937f44762a
Fixed hangs in TextView and ToolPalette

Fixed the hangs by adding a ->inside_allocation flag and avoiding to
queue resizes while inside the allocation loop. The extra queue'd resizes
were causing the scrolled window size_allocate() to perform the guess
again and again thus causing an infinite loop.
gtk/gtkscrolledwindow.c