summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2008-01-28 20:58:11 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2008-01-28 20:58:11 +0000
commit5372722c42f86258d61379815056c37adcbb182c (patch)
tree6a74a88cd1abf50f3f6516ec728317cfe3478157 /tests
parent30e431fc00095d8e042a1252e8aada0c5795eacb (diff)
downloadpango-5372722c42f86258d61379815056c37adcbb182c.tar.gz
Bug 512566 – dont' use deprecated macro Patch from Christian Persch
2008-01-28 Behdad Esfahbod <behdad@gnome.org> Bug 512566 – dont' use deprecated macro Patch from Christian Persch * tests/test-ot-tags.c: * tests/testscript.c: Replace G_GNUC_PRETTY_FUNCTION by G_STRFUNC svn path=/trunk/; revision=2557
Diffstat (limited to 'tests')
-rw-r--r--tests/test-ot-tags.c2
-rw-r--r--tests/testscript.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-ot-tags.c b/tests/test-ot-tags.c
index 5363c1bb..511f8922 100644
--- a/tests/test-ot-tags.c
+++ b/tests/test-ot-tags.c
@@ -30,7 +30,7 @@
else \
{ \
g_warning ("%s:%d (%s): assertion '%s' failed", \
- __FILE__, __LINE__, G_GNUC_PRETTY_FUNCTION, #stmt); \
+ __FILE__, __LINE__, G_STRFUNC, #stmt); \
exit (1); \
} \
} G_STMT_END
diff --git a/tests/testscript.c b/tests/testscript.c
index 98f3bead..4106e9a3 100644
--- a/tests/testscript.c
+++ b/tests/testscript.c
@@ -67,7 +67,7 @@
else \
{ \
g_warning ("%s:%d (%s): assertion '%s' failed", \
- __FILE__, __LINE__, G_GNUC_PRETTY_FUNCTION, #stmt); \
+ __FILE__, __LINE__, G_STRFUNC, #stmt); \
exit (1); \
} \
} G_STMT_END