]> Pileus Git - ~andy/gtk/commit
window: Don't use set_allocation() to store cached values
authorBenjamin Otte <otte@redhat.com>
Mon, 14 Jan 2013 16:59:31 +0000 (17:59 +0100)
committerBenjamin Otte <otte@redhat.com>
Mon, 14 Jan 2013 17:13:10 +0000 (18:13 +0100)
commit97ba4b1b8eb82563f13762a4bd8cfe9beb8a121c
tree57878774f7940f35da9f80f5d06fa93725edfb5a
parentaa77cd65017c191d2defc820f611dceb9734f20f
window: Don't use set_allocation() to store cached values

The window size can be queried on widget->window directly, no need to
store it in widget->allocation.
This change is necessary because gtk_widget_set_allcation() is now
checking invariants that assume it's called from insize
gtk_widget_size_allocate() and that wasn;t the case here.
gtk/gtkwindow.c