Use G_STRFUNC instead of explicit gcc-only __PRETTY_FUNC__

This commit is contained in:
Dagobert Michelsen 2010-03-09 15:02:57 +01:00 committed by Ryan Lortie
parent c69e6fd837
commit 89fa967ba1

View File

@ -282,7 +282,7 @@
*/
#define TYPE_CHECK(value, TYPE, val) \
if G_UNLIKELY (!g_variant_is_of_type (value, TYPE)) { \
g_return_if_fail_warning (G_LOG_DOMAIN, __PRETTY_FUNCTION__, \
g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, \
"g_variant_is_of_type (" #value \
", " #TYPE ")"); \
return val; \