]> Pileus Git - ~andy/gtk/commit
Remove extraneous size request
authorJohn Lindgren <john.lindgren@aol.com>
Tue, 18 Dec 2012 05:23:27 +0000 (00:23 -0500)
committerBenjamin Otte <otte@redhat.com>
Tue, 15 Jan 2013 13:40:40 +0000 (14:40 +0100)
commit919499345395fc89e413529598f6f307456cb904
tree8378919729984415598006e4c7061f8b8ec713fc
parent199ecc1202e2e1b5e705308609ab2407c112d8ab
Remove extraneous size request

After “validation” (i.e., background size calculations) of some cells,
size_request() was called here to update the internally cached size of
the treeview.  Apparently not updating the sizes leads to some kind of
“inconsistency” that messes with top_row_to_dy().  In the GTK3 model for
size allocation, things are more complicated.  The treeview can’t just
go ahead and calculate its own size any more; instead it reports both a
“minimum” and a “natural” size, and it doesn’t know what size it will
actually get until size_allocate().  It may be necessary to update
top_row_to_dy() to deal with not knowing the exact size.

https://bugzilla.gnome.org/show_bug.cgi?id=691751
gtk/gtktreeview.c