glib/gmessages.h: Unify log messages
authorChun-wei Fan <fanchunwei@src.gnome.org>
Tue, 5 Nov 2013 04:45:38 +0000 (12:45 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Mon, 11 Nov 2013 14:35:40 +0000 (22:35 +0800)
commit172aaa3a0135fe14567b33389cfbf25103260967
treeaf4300df3308625401c90f181121c61dabfeac4d
parentfff14a5b7cf62d176b20bb3bb2fa573f9f7bcd2d
glib/gmessages.h: Unify log messages

...Under various compilers when !G_DISABLE_CHECKS.  Previously, the
messages that are logged differ depending whether GLib was built with GCC
or not.  To simplify test cases, make all builds use a single output format
for g_return_if_fail(), g_return_val_if_fail(), g_return_if_reached(), and
g_return_val_if_reached(), by using the GCC-style format and replaceing
__PRETTY_FUNCTION__ with G_STRFUNC, so that it will work across various
compilers.

https://bugzilla.gnome.org/show_bug.cgi?id=711047
glib/gmessages.h