diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2011-04-21 15:01:14 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2011-04-21 15:01:14 -0400 |
commit | bf99026f8dbe054e9c59bf5a891b76b71ea912b7 (patch) | |
tree | 97b943149a21872e634ffdf7aea64a4aee376e6a /pango/pango-ot-buffer.c | |
parent | 754f002608028e18ba204a59c5a0ee92aa3bc9b7 (diff) | |
download | pango-bf99026f8dbe054e9c59bf5a891b76b71ea912b7.tar.gz |
[HB] Remove usage of hb_buffer_get_reference_count()
Diffstat (limited to 'pango/pango-ot-buffer.c')
-rw-r--r-- | pango/pango-ot-buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pango-ot-buffer.c b/pango/pango-ot-buffer.c index 186bfd41..26213a5a 100644 --- a/pango/pango-ot-buffer.c +++ b/pango/pango-ot-buffer.c @@ -65,7 +65,7 @@ acquire_buffer (gboolean *free_buffer) static void release_buffer (hb_buffer_t *buffer, gboolean free_buffer) { - if (G_LIKELY (!free_buffer) && hb_buffer_get_reference_count (buffer) == 1) + if (G_LIKELY (!free_buffer)) { hb_buffer_reset (buffer); G_UNLOCK (cached_buffer); |