summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2012-08-02 07:07:02 -0400
committerBehdad Esfahbod <behdad@behdad.org>2012-08-02 07:07:02 -0400
commiteddbc909f835901fe08794be0ec45840d3494af5 (patch)
treee54f321ae98066a3c9097d4f0982a0f218edc3e7
parent74edcbf598d8ba4896f8e91ec3717f25b7c2b7c5 (diff)
downloadpango-eddbc909f835901fe08794be0ec45840d3494af5.tar.gz
Remove unused macro
-rw-r--r--pango/pango-language.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/pango/pango-language.c b/pango/pango-language.c
index 1cdc4f0c..9ec4ab30 100644
--- a/pango/pango-language.c
+++ b/pango/pango-language.c
@@ -192,7 +192,7 @@ _pango_get_lc_ctype (void)
return g_strdup (p);
return g_win32_getlocale ();
-#elif HAVE_CORE_TEXT
+#elif defined(HAVE_CORE_TEXT)
CFArrayRef languages;
CFStringRef language;
gchar ret[16];
@@ -472,12 +472,6 @@ find_best_lang_match_cached (PangoLanguage *language,
return result;
}
-#define FIND_BEST_LANG_MATCH(language, records) \
- find_best_lang_match ((language), \
- records, \
- G_N_ELEMENTS (records), \
- sizeof (*records));
-
#define FIND_BEST_LANG_MATCH_CACHED(language, cache_key, records) \
find_best_lang_match_cached ((language), \
pango_language_get_private (language) ? \