]> Pileus Git - ~andy/gtk/commit
widget: Allow invisible toplevels to do sizing operations
authorBenjamin Otte <otte@redhat.com>
Thu, 24 Jan 2013 13:25:27 +0000 (14:25 +0100)
committerBenjamin Otte <otte@redhat.com>
Thu, 24 Jan 2013 13:28:58 +0000 (14:28 +0100)
commit154204e89136f338a3b0cbd91ddaebc09e4bd8e3
tree59a8cd4c3345b9048924941c7dcced51425f00ef
parent78d91aaf9b9777d0d42879b5d4495265ea0abaa6
widget: Allow invisible toplevels to do sizing operations

This is a quickfix to keep things working.

It turns out GtkWindow assumes it can do sizing operations while not
being visible, or while in the process of show()ing/hide()ing itself.
And commit b495ce54 broke these operations.

Figuring this properly requires some more thinking and restructuring on
my part, so for now we relax the requirement of visiblility enough for
these things to start working again.
gtk/gtksizerequest.c
gtk/gtkwidget.c