Use G_STRFUNC instead of explicit gcc-only __PRETTY_FUNC__
authorDagobert Michelsen <dam@opencsw.org>
Tue, 9 Mar 2010 14:02:57 +0000 (15:02 +0100)
committerRyan Lortie <desrt@desrt.ca>
Tue, 9 Mar 2010 15:30:06 +0000 (10:30 -0500)
glib/gvariant.c

index adc9030e2f7ff42ec7001601de3392dc3767ef02..d484ee2b57e32f6e0013451b731e30211796eee2 100644 (file)
  */
 #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;                                                   \