From: Matthias Clasen Date: Mon, 31 Mar 2008 03:39:00 +0000 (+0000) Subject: Replace occurrances of G_GNUC_PRETTY_FUNCTION by G_STRFUNC. (#524344, X-Git-Tag: GLIB_2_17_0~121 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b9cc70aaa85fced4b5232b6f3460c5ec709397aa;p=platform%2Fupstream%2Fglib.git 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 --- diff --git a/ChangeLog b/ChangeLog index 7c54012..52a3d50 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,9 @@ 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 6397b48..0507558 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))