mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 16:05:44 -07:00
Add an automatic check for HAVE_SENSIBLE_ABSOLUTE_SIZE_FUNCTION by
using PANGO_CHECK_VERSION. (Irritatingly, the latter is not available in all versions of Pango, so we have to be cautious about using it at all. *sigh*) [originally from svn r8430]
This commit is contained in:
5
gtk.c
5
gtk.c
@ -26,6 +26,11 @@
|
|||||||
|
|
||||||
#if GTK_CHECK_VERSION(2,0,0)
|
#if GTK_CHECK_VERSION(2,0,0)
|
||||||
# define USE_PANGO
|
# define USE_PANGO
|
||||||
|
# ifdef PANGO_VERSION_CHECK
|
||||||
|
# if PANGO_VERSION_CHECK(1,8,0)
|
||||||
|
# define HAVE_SENSIBLE_ABSOLUTE_SIZE_FUNCTION
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef DEBUGGING
|
#ifdef DEBUGGING
|
||||||
|
Reference in New Issue
Block a user