gtk-demo: Don't use get_allocation()
authorBenjamin Otte <otte@redhat.com>
Sun, 5 Nov 2017 14:01:30 +0000 (15:01 +0100)
committerBenjamin Otte <otte@redhat.com>
Sun, 5 Nov 2017 14:01:30 +0000 (15:01 +0100)
commit3a3f73a4dc3e8600a6436142cc7010533e429b97
treea74cb556f2a30472c27886150df80ad28b084013
parentc4ecc0993afd18848c213b02d7bae77233b87d7c
gtk-demo: Don't use get_allocation()

Use get_width()/get_height() instead.
demos/gtk-demo/drawingarea.c