glib r6776 - in branches/glib-2-16: . glib
- From: matthiasc svn gnome org
- To: svn-commits-list gnome org
- Subject: glib r6776 - in branches/glib-2-16: . glib
- Date: Mon, 31 Mar 2008 04:40:21 +0100 (BST)
Author: matthiasc
Date: Mon Mar 31 04:40:21 2008
New Revision: 6776
URL: http://svn.gnome.org/viewvc/glib?rev=6776&view=rev
Log:
2008-03-30 Matthias Clasen <mclasen redhat com>
* glib/gthread.h: Replace occurrances of G_GNUC_PRETTY_FUNCTION
by G_STRFUNC. (#524344, Peter, Kjellerstedt)
Modified:
branches/glib-2-16/ChangeLog
branches/glib-2-16/glib/gthread.h
Modified: branches/glib-2-16/glib/gthread.h
==============================================================================
--- branches/glib-2-16/glib/gthread.h (original)
+++ branches/glib-2-16/glib/gthread.h Mon Mar 31 04:40:21 2008
@@ -366,21 +366,21 @@
# 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))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]