summaryrefslogtreecommitdiff
path: root/tests/test-pangocairo-threads.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2013-03-15 05:56:14 -0400
committerBehdad Esfahbod <behdad@behdad.org>2013-03-15 06:25:33 -0400
commite95a0ecd5d1bbcc0c96fc52160edc18292f66f04 (patch)
tree68f5bf8c27effcdf209e17ba806eb27a3d447d6f /tests/test-pangocairo-threads.c
parent480fb1d6eee13092e50ceb213fcc7eeb4b52e52f (diff)
downloadpango-e95a0ecd5d1bbcc0c96fc52160edc18292f66f04.tar.gz
Use g_snprintf()
Diffstat (limited to 'tests/test-pangocairo-threads.c')
-rw-r--r--tests/test-pangocairo-threads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-pangocairo-threads.c b/tests/test-pangocairo-threads.c
index 1dfe53c4..72349545 100644
--- a/tests/test-pangocairo-threads.c
+++ b/tests/test-pangocairo-threads.c
@@ -89,7 +89,7 @@ main (int argc, char **argv)
char buf[10];
cairo_surface_t *surface = create_surface ();
g_ptr_array_add (surfaces, surface);
- snprintf (buf, sizeof (buf), "%d", i);
+ g_snprintf (buf, sizeof (buf), "%d", i);
g_ptr_array_add (threads,
g_thread_new (buf,
thread_func,