[pango] Remove dead code
- From: Behdad Esfahbod <behdad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango] Remove dead code
- Date: Thu, 8 Sep 2011 15:13:00 +0000 (UTC)
commit a7ce7a1a2ba2072e847c6592127dd184dab692a1
Author: Behdad Esfahbod <behdad behdad org>
Date: Sun Jul 31 16:58:31 2011 -0400
Remove dead code
modules/basic/basic-win32.c | 17 -----------------
1 files changed, 0 insertions(+), 17 deletions(-)
---
diff --git a/modules/basic/basic-win32.c b/modules/basic/basic-win32.c
index 810d2a2..487056b 100644
--- a/modules/basic/basic-win32.c
+++ b/modules/basic/basic-win32.c
@@ -865,25 +865,8 @@ PANGO_MODULE_ENTRY(list) (PangoEngineInfo **engines,
script_engines[0].scripts = basic_scripts;
script_engines[0].n_scripts = G_N_ELEMENTS (basic_scripts);
-#if 0
- int i;
- GArray *ranges = g_array_new (FALSE, FALSE, sizeof (PangoEngineRange));
-
- /* Walk through scripts supported by the Uniscribe implementation on this
- * machine, and mark corresponding Unicode ranges.
- */
- for (i = 0; i < nscripts; i++)
- {
- }
-
- /* Sort range array */
- g_array_sort (ranges, compare_range);
- script_engines[0].ranges = ranges;
- script_engines[0].n_ranges = ranges->len;
-#else
script_engines[0].scripts = uniscribe_scripts;
script_engines[0].n_scripts = G_N_ELEMENTS (uniscribe_scripts);
-#endif
*engines = script_engines;
*n_engines = G_N_ELEMENTS (script_engines);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]