[pango] Revert "ot-info: Update after API break in HarfBuzz"



commit 394b2789c7a4f7c6071f4e5b83e3cf9876d50608
Author: Behdad Esfahbod <behdad behdad org>
Date:   Tue Jun 24 10:26:08 2014 -0600

    Revert "ot-info: Update after API break in HarfBuzz"
    
    This reverts commit 4901fb74b3c1137d13a6b7e4e8784577c1816e47.
    
    The removed API was added back to HarfBuzz.  So, no need for this.

 pango/pango-ot-info.c |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/pango/pango-ot-info.c b/pango/pango-ot-info.c
index 3b639db..d494d7f 100644
--- a/pango/pango-ot-info.c
+++ b/pango/pango-ot-info.c
@@ -189,11 +189,10 @@ pango_ot_info_find_language (PangoOTInfo      *info,
                                           &l_index);
   if (language_index) *language_index = l_index;
 
-  hb_ot_layout_language_get_required_feature (info->hb_face, tt,
-                                              script_index,
-                                              l_index,
-                                              required_feature_index,
-                                              NULL);
+  hb_ot_layout_language_get_required_feature_index (info->hb_face, tt,
+                                                   script_index,
+                                                   l_index,
+                                                   required_feature_index);
 
   return ret;
 }


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