diff options
author | Tor Lillqvist <tml@novell.com> | 2006-02-28 21:57:33 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2006-02-28 21:57:33 +0000 |
commit | c44718c43a88b0d2655cf98ffb580e9a801f6c45 (patch) | |
tree | 2234d3411b38a89f936688fb4cb136dc50b0289b /pango/pangowin32-private.h | |
parent | 5f30a5aa797140a469323d5b6e68cd3345f93c4c (diff) | |
download | pango-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.h | 12 |
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 */ |