gtk_widget_measure needs to be called during the parent's size_allocate, even if the results aren't used.