endlessm/gtk — pull request #11 by mattdangerw (2014-12-04 21:09:19+00:00)
Title: Fix sizing bug in gtkentrycompletion with multiple cells

The entry completion is the only place in the entire gtk code base
that calls gtk_tree_view_column_cell_get_size outside of gtktreeview
itself. It calls into the function before the tree view has done some
important validation on its cell state, the net result of which is
only the first element in the gtkcellareabox the entry completion uses
well actually have its size respected.

We now call gtk_widget_get_preferred_size on the tree view before
calling into the individual cell size routines, to guarantee that the
tree view has run its validate_rows routine and cell state is valid.
[endlessm/eos-shell#3976]