mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01:00
Use G_STRFUNC instead of explicit gcc-only __PRETTY_FUNC__
This commit is contained in:
parent
c69e6fd837
commit
89fa967ba1
@ -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; \
|
||||
|
Loading…
Reference in New Issue
Block a user