projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c69e6fd
)
Use G_STRFUNC instead of explicit gcc-only __PRETTY_FUNC__
author
Dagobert Michelsen
<dam@opencsw.org>
Tue, 9 Mar 2010 14:02:57 +0000
(15:02 +0100)
committer
Ryan Lortie
<desrt@desrt.ca>
Tue, 9 Mar 2010 15:30:06 +0000
(10:30 -0500)
glib/gvariant.c
patch
|
blob
|
history
diff --git
a/glib/gvariant.c
b/glib/gvariant.c
index adc9030e2f7ff42ec7001601de3392dc3767ef02..d484ee2b57e32f6e0013451b731e30211796eee2 100644
(file)
--- a/
glib/gvariant.c
+++ b/
glib/gvariant.c
@@
-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; \