projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
176e6ce
)
PANGO_VERSION_CHECK is new
author
Dana Jansens
<danakj@orodu.net>
Thu, 10 May 2007 14:31:44 +0000
(14:31 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Thu, 10 May 2007 14:31:44 +0000
(14:31 +0000)
render/font.c
patch
|
blob
|
history
diff --git
a/render/font.c
b/render/font.c
index
166b9ab
..
3755c1f
100644
(file)
--- a/
render/font.c
+++ b/
render/font.c
@@
-37,7
+37,8
@@
static void measure_font(const RrInstance *inst, RrFont *f)
static PangoLanguage *lang = NULL;
if (lang == NULL) {
-#if PANGO_VERSION_CHECK(1,16,0)
+#if PANGO_VERSION_MAJOR > 1 || \
+ (PANGO_VERSION_MAJOR == 1 && PANGO_VERSION_MINOR >= 16)
lang = pango_language_get_default();
#else
gchar *locale, *p;