]> Pileus Git - ~andy/gtk/commit
toolbar: Better fix for animations
authorBenjamin Otte <otte@redhat.com>
Wed, 15 Jun 2011 20:50:59 +0000 (22:50 +0200)
committerBenjamin Otte <otte@redhat.com>
Wed, 15 Jun 2011 20:50:59 +0000 (22:50 +0200)
commite54ccaee53dbdf1842bc245a219bce88ef82b28a
tree5992f8f0919f9cf00141d9b2276c8a02e9b6b85c
parentba869e0fe04c44e549954a167813986cf00bbc39
toolbar: Better fix for animations

It turns out there's more places where the toolbar item size is used as
the margin box instead of the content box. Because of that, store the
margin box when allocating and use it whenever calls
toolbar_content_get_allocation() instead of calling
gtk_widget_get_allocation().
gtk/gtktoolbar.c