Fix overnight build failure last night, by making the new call to
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 21 Nov 2012 18:45:07 +0000 (18:45 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 21 Nov 2012 18:45:07 +0000 (18:45 +0000)
commit2fb439b45a8d445a24aee5b21fa10c33830a134a
tree7bb333368d67874b4d69da85b6748f152d7520bc
parent8f32c9e8976417d6040cd48359e999a1e4a3a998
Fix overnight build failure last night, by making the new call to
gtk_widget_get_allocation conditional on GTK being new enough to have
that function.

I'm assuming until someone proves otherwise that if it isn't that new,
then it also isn't one of the versions of GTK which exhibit the bug
which that call was working around (since gtk_widget_get_allocation
came in 2.18, and the problem seems to have arisen since 2.20).

git-svn-id: svn://svn.tartarus.org/sgt/puzzles@9712 cda61777-01e9-0310-a592-d414129be87e
gtk.c