summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2011-04-15 18:47:58 -0400
committerBehdad Esfahbod <behdad@behdad.org>2011-04-15 18:48:42 -0400
commit94ceb987c30a3ae2b695bb85f95b39c759b62ebe (patch)
tree64cf2aeb3b26254704e81efa1ed51287fb432dc4 /modules
parent9ac5bce958cb2ac500148dcd80c0d2c6877f7e4c (diff)
downloadpango-94ceb987c30a3ae2b695bb85f95b39c759b62ebe.tar.gz
More hb_buffer_clear() removal
Diffstat (limited to 'modules')
-rw-r--r--modules/basic/basic-fc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/basic/basic-fc.c b/modules/basic/basic-fc.c
index 0f823e46..27112f91 100644
--- a/modules/basic/basic-fc.c
+++ b/modules/basic/basic-fc.c
@@ -100,7 +100,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