[pango/harfbuzz-ng-external: 23/28] Adjust to hb_buffer_clear() removal



commit dff1f2b0d6c353f0839a7a38115c69cd915f9cbd
Author: Behdad Esfahbod <behdad behdad org>
Date:   Fri Apr 15 18:37:54 2011 -0400

    Adjust to hb_buffer_clear() removal

 pango/pango-ot-buffer.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pango/pango-ot-buffer.c b/pango/pango-ot-buffer.c
index e4b6436..2dc4a1c 100644
--- a/pango/pango-ot-buffer.c
+++ b/pango/pango-ot-buffer.c
@@ -67,7 +67,7 @@ release_buffer (hb_buffer_t *buffer, gboolean free_buffer)
 {
   if (G_LIKELY (!free_buffer) && hb_buffer_get_reference_count (buffer) == 1)
     {
-      hb_buffer_clear (buffer);
+      hb_buffer_reset (buffer);
       G_UNLOCK (cached_buffer);
     }
   else
@@ -126,7 +126,7 @@ pango_ot_buffer_destroy (PangoOTBuffer *buffer)
 void
 pango_ot_buffer_clear (PangoOTBuffer *buffer)
 {
-  hb_buffer_clear (buffer->buffer);
+  hb_buffer_reset (buffer->buffer);
   buffer->applied_gpos = FALSE;
 }
 



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