summaryrefslogtreecommitdiff
path: root/pango/break-thai.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2015-08-21 13:53:34 +0100
committerBehdad Esfahbod <behdad@behdad.org>2015-08-21 13:53:34 +0100
commitd0d140b0180bfe2c2278f34f5a649a2e7d9f4fa2 (patch)
tree2d86d017dfe76d350fc473cf5c36407ee9191b6b /pango/break-thai.c
parentbf500a961f0cbdb1f5b3ac9bb71080e7613df23d (diff)
downloadpango-d0d140b0180bfe2c2278f34f5a649a2e7d9f4fa2.tar.gz
Remove remaining uses of g_utf8_strlen()
Diffstat (limited to 'pango/break-thai.c')
-rw-r--r--pango/break-thai.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/pango/break-thai.c b/pango/break-thai.c
index 4a2d7d7a..659e96e5 100644
--- a/pango/break-thai.c
+++ b/pango/break-thai.c
@@ -20,7 +20,8 @@
#include "config.h"
-#include <pango/pango-break.h>
+#include "pango-break.h"
+#include "pango-impl-utils.h"
#ifdef HAVE_LIBTHAI
#include <thai/thwchar.h>
@@ -30,7 +31,7 @@ G_LOCK_DEFINE_STATIC (th_brk);
/*
* tis_text is assumed to be large enough to hold the converted string,
- * i.e. it must be at least g_utf8_strlen(text, len)+1 bytes.
+ * i.e. it must be at least pango_utf8_strlen(text, len)+1 bytes.
*/
static thchar_t *
utf8_to_tis (const char *text, int len, thchar_t *tis_text, int *tis_cnt)
@@ -62,7 +63,7 @@ break_thai (const char *text,
int *brk_pnts;
int cnt;
- cnt = g_utf8_strlen (text, len) + 1;
+ cnt = pango_utf8_strlen (text, len) + 1;
tis_text = tis_stack;
if (cnt > (int) G_N_ELEMENTS (tis_stack))