Deprecate G_GNUC_(PRETTY)_FUNCTION.

2008-01-27  Matthias Clasen  <mclasen@redhat.com>

        * glib/gmacros.h: Deprecate G_GNUC_(PRETTY)_FUNCTION.



svn path=/trunk/; revision=6389
This commit is contained in:
Matthias Clasen
2008-01-27 23:42:33 +00:00
committed by Matthias Clasen
parent 69c903e5b2
commit 7bfc60de2e
11 changed files with 40 additions and 23 deletions

View File

@@ -1,3 +1,9 @@
2008-01-27 Matthias Clasen <mclasen@redhat.com>
* gthread-posix.c:
* gthread-win32.c: Replace uses of G_GNUC_PRETTY_FUNCTION
by __FUNCTION__.
2008-01-21 Matthias Clasen <mclasen@redhat.com>
* === Released 2.15.3 ===

View File

@@ -51,7 +51,7 @@
int error = (err); \
if (error) \
g_error ("file %s: line %d (%s): error '%s' during '%s'", \
__FILE__, __LINE__, G_GNUC_PRETTY_FUNCTION, \
__FILE__, __LINE__, __FUNCTION__, \
g_strerror (error), name); \
}G_STMT_END

View File

@@ -48,7 +48,7 @@
#define win32_check_for_error(what) G_STMT_START{ \
if (!(what)) \
g_error ("file %s: line %d (%s): error %s during %s", \
__FILE__, __LINE__, G_GNUC_PRETTY_FUNCTION, \
__FILE__, __LINE__, __FUNCTION__, \
g_win32_error_message (GetLastError ()), #what); \
}G_STMT_END