chiark / gitweb /
Patches for GTK 2. Puzzles already _built_ under GTK 2, but now it
authorSimon Tatham <anakin@pobox.com>
Wed, 27 Apr 2005 19:39:20 +0000 (19:39 +0000)
committerSimon Tatham <anakin@pobox.com>
Wed, 27 Apr 2005 19:39:20 +0000 (19:39 +0000)
commit37a0c1af6a8b6d4f9ab2ab2adb3218b44bc64a04
tree3e3bc3f39df5d868f014de3a0dbe7ae57f330943
parent8b31b4606c1e2fc927b4dc6e5c3e2df3adf1cf8b
Patches for GTK 2. Puzzles already _built_ under GTK 2, but now it
builds better:
 - the GTK makefile now defines $(GTK_CONFIG) which you can
   override, so you can build for GTK 2 with no makefile-editing
   simply by running `make GTK_CONFIG="pkg_config gtk+-2.0"'
 - we use Pango to find appropriate fonts, which means the text in
   the puzzles actually (gasp!) adapts its size to the
   circumstances. Unfortunately, I've been unable to do this
   portably without depending on _either_ a Pango function that
   isn't present in older versions _or_ the underlying window system
   being X11; I'd appreciate someone doing better.

[originally from svn r5693]
gtk.c
mkfiles.pl