[pango] Remove unused macro
- From: Behdad Esfahbod <behdad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango] Remove unused macro
- Date: Thu, 2 Aug 2012 11:07:13 +0000 (UTC)
commit eddbc909f835901fe08794be0ec45840d3494af5
Author: Behdad Esfahbod <behdad behdad org>
Date: Thu Aug 2 07:07:02 2012 -0400
Remove unused macro
pango/pango-language.c | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/pango/pango-language.c b/pango/pango-language.c
index 1cdc4f0..9ec4ab3 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) ? \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]