pango r2557 - in trunk: . tests



Author: behdad
Date: Mon Jan 28 20:58:11 2008
New Revision: 2557
URL: http://svn.gnome.org/viewvc/pango?rev=2557&view=rev

Log:
2008-01-28  Behdad Esfahbod  <behdad gnome org>

        Bug 512566 â dont' use deprecated macro
        Patch from Christian Persch

        * tests/test-ot-tags.c:
        * tests/testscript.c:
        Replace G_GNUC_PRETTY_FUNCTION by G_STRFUNC



Modified:
   trunk/ChangeLog
   trunk/tests/test-ot-tags.c
   trunk/tests/testscript.c

Modified: trunk/tests/test-ot-tags.c
==============================================================================
--- trunk/tests/test-ot-tags.c	(original)
+++ trunk/tests/test-ot-tags.c	Mon Jan 28 20:58:11 2008
@@ -30,7 +30,7 @@
     else								\
       {									\
 	g_warning ("%s:%d (%s): assertion '%s' failed",			\
-		 __FILE__, __LINE__, G_GNUC_PRETTY_FUNCTION, #stmt);	\
+		 __FILE__, __LINE__, G_STRFUNC, #stmt);			\
 	exit (1);							\
       }									\
 } G_STMT_END

Modified: trunk/tests/testscript.c
==============================================================================
--- trunk/tests/testscript.c	(original)
+++ trunk/tests/testscript.c	Mon Jan 28 20:58:11 2008
@@ -67,7 +67,7 @@
     else								\
       {									\
 	g_warning ("%s:%d (%s): assertion '%s' failed",			\
-		 __FILE__, __LINE__, G_GNUC_PRETTY_FUNCTION, #stmt);	\
+		 __FILE__, __LINE__, G_STRFUNC, #stmt);			\
 	exit (1);							\
       }									\
 } G_STMT_END



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]