]> Pileus Git - ~andy/gtk/commit
iconview: layout items immediately when setting a GtkTreeModel
authorCosimo Cecchi <cosimoc@gnome.org>
Tue, 1 Nov 2011 00:33:41 +0000 (20:33 -0400)
committerCosimo Cecchi <cosimoc@gnome.org>
Tue, 1 Nov 2011 15:15:50 +0000 (11:15 -0400)
commitd808daccc1abed9759381c9bb46ad1061d3166b7
tree9c48a21a67a019ed4df32d4f5a59519d77fbeadf
parenta77162ebaf001beb15a7db658c40a538497bdf33
iconview: layout items immediately when setting a GtkTreeModel

As the draw handler expects the items to be laid out already, we cannot
queue a layout here to avoid a race condition with the resize that is
queued immediately after, which in turn would lead to a segfault later
in the paint_item() implementation.

https://bugzilla.gnome.org/show_bug.cgi?id=663138
gtk/gtkiconview.c