summaryrefslogtreecommitdiff
path: root/pango/pangowin32-private.h
diff options
context:
space:
mode:
authorTor Lillqvist <tml@novell.com>2006-02-28 21:57:33 +0000
committerTor Lillqvist <tml@src.gnome.org>2006-02-28 21:57:33 +0000
commitc44718c43a88b0d2655cf98ffb580e9a801f6c45 (patch)
tree2234d3411b38a89f936688fb4cb136dc50b0289b /pango/pangowin32-private.h
parent5f30a5aa797140a469323d5b6e68cd3345f93c4c (diff)
downloadpango-c44718c43a88b0d2655cf98ffb580e9a801f6c45.tar.gz
pango/pangowin32-private.h (PING) pango/pangowin32.c Use g_print() instead
2006-02-28 Tor Lillqvist <tml@novell.com> * pango/pangowin32-private.h (PING) * pango/pangowin32.c * modules/basic/basic-win32.c: Use g_print() instead of printf() for debugging output, to enable easy redirection using GLib facilities. (#332855)
Diffstat (limited to 'pango/pangowin32-private.h')
-rw-r--r--pango/pangowin32-private.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/pango/pangowin32-private.h b/pango/pangowin32-private.h
index 1e5e999c..d45a2768 100644
--- a/pango/pangowin32-private.h
+++ b/pango/pangowin32-private.h
@@ -34,16 +34,16 @@
#ifdef __GNUC__
#define PING(printlist) \
(pango_win32_debug ? \
- (printf ("%s:%d ", __PRETTY_FUNCTION__, __LINE__), \
- printf printlist, \
- printf ("\n")) : \
+ (g_print ("%s:%d ", __PRETTY_FUNCTION__, __LINE__), \
+ g_print printlist, \
+ g_print ("\n")) : \
0)
#else
#define PING(printlist) \
(pango_win32_debug ? \
- (printf ("%s:%d ", __FILE__, __LINE__), \
- printf printlist, \
- printf ("\n")) : \
+ (g_print ("%s:%d ", __FILE__, __LINE__), \
+ g_print printlist, \
+ g_print ("\n")) : \
0)
#endif
#else /* !PANGO_WIN32_DEBUGGING */