[pango: 18/31] [modules] Fixup pango_map_get_engines() after recent changes



commit e0a880a032600da88faf34d4e5b43b3c3773b2eb
Author: Behdad Esfahbod <behdad behdad org>
Date:   Sat Apr 4 16:38:53 2015 -0700

    [modules] Fixup pango_map_get_engines() after recent changes

 pango/modules.c |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/pango/modules.c b/pango/modules.c
index 299fa60..93a4897 100644
--- a/pango/modules.c
+++ b/pango/modules.c
@@ -96,9 +96,13 @@ pango_map_get_engine (PangoMap   *map G_GNUC_UNUSED,
 void
 pango_map_get_engines (PangoMap     *map G_GNUC_UNUSED,
                       PangoScript   script G_GNUC_UNUSED,
-                      GSList      **exact_engines G_GNUC_UNUSED,
-                      GSList      **fallback_engines G_GNUC_UNUSED)
+                      GSList      **exact_engines,
+                      GSList      **fallback_engines)
 {
+  if (exact_engines)
+    *exact_engines = NULL;
+  if (fallback_engines)
+    *fallback_engines = NULL;
 }
 
 /**


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]