~mdw
/
sgt
/
puzzles
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add an automatic check for HAVE_SENSIBLE_ABSOLUTE_SIZE_FUNCTION by
[sgt/puzzles]
/
gtk.c
diff --git
a/gtk.c
b/gtk.c
index
5f2ef22
..
1b42926
100644
(file)
--- a/
gtk.c
+++ b/
gtk.c
@@
-25,7
+25,12
@@
#include "puzzles.h"
#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
#ifdef DEBUGGING