summaryrefslogtreecommitdiff
path: root/pango/pangoft2.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-12-06 23:17:41 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-12-06 23:17:41 +0000
commit41bd5bb015197c84cbd7065fd6ef95675966f259 (patch)
tree020818c458470ab3b510cfbf510ea37d9ee58627 /pango/pangoft2.c
parent03e6a3893c2f590f28b1816ae80bea49cf03b451 (diff)
downloadpango-41bd5bb015197c84cbd7065fd6ef95675966f259.tar.gz
Convert [sf]printf to g_[sf]printf, or, where appropriate g_printerr().
Fri Dec 6 18:07:48 2002 Owen Taylor <otaylor@redhat.com> * modules/indic/devanagari-x.c, pango/modules.c pango/pango-utils.c pango/pangoft2.c pango/querymodules.c: Convert [sf]printf to g_[sf]printf, or, where appropriate g_printerr(). (Based on patch from Matthias Clasen, #99321) * configure.in: Require glib-2.1.3.
Diffstat (limited to 'pango/pangoft2.c')
-rw-r--r--pango/pangoft2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/pangoft2.c b/pango/pangoft2.c
index b84232ae..b404eb98 100644
--- a/pango/pangoft2.c
+++ b/pango/pangoft2.c
@@ -24,9 +24,9 @@
#include <string.h>
#include <stdlib.h>
-#include <stdio.h>
#include <math.h>
#include <glib.h>
+#include <glib/gprintf.h>
#include <freetype/freetype.h>
@@ -1088,7 +1088,7 @@ _pango_ft2_ft_strerror (FT_Error error)
{
static char default_msg[100];
- sprintf (default_msg, "Unknown FreeType2 error %#x", error);
+ g_sprintf (default_msg, "Unknown FreeType2 error %#x", error);
return default_msg;
}
}