fix AttributeError: 'NoneType' object has no attribute 'get_allocation'
Merge remote-tracking branch 'upstream/gtk3' into origin/gtk3