totem r5059 - in trunk: . src/backend
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: totem r5059 - in trunk: . src/backend
- Date: Fri, 1 Feb 2008 15:57:20 +0000 (GMT)
Author: chpe
Date: Fri Feb 1 15:57:20 2008
New Revision: 5059
URL: http://svn.gnome.org/viewvc/totem?rev=5059&view=rev
Log:
2008-02-01 Christian Persch <chpe gnome org>
* src/backend/debug.h: Use G_STRFUNC instead of the deprecated
G_GNUC_PRETTY_FUNCTION.
Modified:
trunk/ChangeLog
trunk/src/backend/debug.h
Modified: trunk/src/backend/debug.h
==============================================================================
--- trunk/src/backend/debug.h (original)
+++ trunk/src/backend/debug.h Fri Feb 1 15:57:20 2008
@@ -12,8 +12,8 @@
#define D(x...) g_message (x)
#endif
-#define TE() { g_message ("enter %s", G_GNUC_PRETTY_FUNCTION); gdk_threads_enter (); }
-#define TL() { g_message ("leave %s", G_GNUC_PRETTY_FUNCTION); gdk_threads_leave (); }
+#define TE() { g_message ("enter %s", G_STRFUNC); gdk_threads_enter (); }
+#define TL() { g_message ("leave %s", G_STRFUNC); gdk_threads_leave (); }
#define TOTEM_PROFILE(function) \
do{ \
@@ -25,7 +25,7 @@
gettimeofday(¤t_time, NULL); \
dtime += current_time.tv_sec + (current_time.tv_usec / 1000000.0); \
printf("(%s:%d) took %lf seconds\n", \
- G_GNUC_PRETTY_FUNCTION, __LINE__, dtime ); \
+ G_STRFUNC, __LINE__, dtime ); \
}while(0)
#else /* GNOME_ENABLE_DEBUG */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]