From b9cc70aaa85fced4b5232b6f3460c5ec709397aa Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 31 Mar 2008 03:39:00 +0000 Subject: [PATCH] Replace occurrances of G_GNUC_PRETTY_FUNCTION by G_STRFUNC. (#524344, 2008-03-30 Matthias Clasen * glib/gthread.h: Replace occurrances of G_GNUC_PRETTY_FUNCTION by G_STRFUNC. (#524344, Peter, Kjellerstedt) svn path=/trunk/; revision=6775 --- ChangeLog | 5 +++++ glib/gthread.h | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7c5401271..52a3d5022 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-03-30 Matthias Clasen + + * glib/gthread.h: Replace occurrances of G_GNUC_PRETTY_FUNCTION + by G_STRFUNC. (#524344, Peter, Kjellerstedt) + 2008-03-30 Matthias Clasen * glib/gtestutils.c: Fix a doc typo. (#524742, Hiroyuki Ikezoe) diff --git a/glib/gthread.h b/glib/gthread.h index 6397b4843..050755837 100644 --- a/glib/gthread.h +++ b/glib/gthread.h @@ -370,21 +370,21 @@ extern void glib_dummy_decl (void); # define G_LOCK(name) G_STMT_START{ \ g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, \ "file %s: line %d (%s): locking: %s ", \ - __FILE__, __LINE__, G_GNUC_PRETTY_FUNCTION, \ + __FILE__, __LINE__, G_STRFUNC, \ #name); \ g_static_mutex_lock (&G_LOCK_NAME (name)); \ }G_STMT_END # define G_UNLOCK(name) G_STMT_START{ \ g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, \ "file %s: line %d (%s): unlocking: %s ", \ - __FILE__, __LINE__, G_GNUC_PRETTY_FUNCTION, \ + __FILE__, __LINE__, G_STRFUNC, \ #name); \ g_static_mutex_unlock (&G_LOCK_NAME (name)); \ }G_STMT_END # define G_TRYLOCK(name) \ (g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, \ "file %s: line %d (%s): try locking: %s ", \ - __FILE__, __LINE__, G_GNUC_PRETTY_FUNCTION, \ + __FILE__, __LINE__, G_STRFUNC, \ #name), g_static_mutex_trylock (&G_LOCK_NAME (name))) # else /* !G_DEBUG_LOCKS */ # define G_LOCK(name) g_static_mutex_lock (&G_LOCK_NAME (name))