gegl r3008 - in trunk: . tests/buffer



Author: martinn
Date: Tue Mar 31 20:19:13 2009
New Revision: 3008
URL: http://svn.gnome.org/viewvc/gegl?rev=3008&view=rev

Log:
use G_STRFUNC everywhere

Patch from Gary V. Vaughan.

Modified:
   trunk/ChangeLog
   trunk/tests/buffer/buffer-test.c

Modified: trunk/tests/buffer/buffer-test.c
==============================================================================
--- trunk/tests/buffer/buffer-test.c	(original)
+++ trunk/tests/buffer/buffer-test.c	Tue Mar 31 20:19:13 2009
@@ -4,6 +4,7 @@
 #include <math.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <glib/gmacros.h>
 
 /* This file consists of a testing suite for the GeglBuffer API. For every
  * function matching the regexp ^static.*(' in the file a test is performed and
@@ -25,7 +26,7 @@
  */
 
 #define test_start()              GString *gstring=g_string_new("");\
-                                  print (("Test: %s\n", __FUNCTION__))
+                                  print (("Test: %s\n", G_STRFUNC))
 #define print(args)		  G_STMT_START {		\
 	gchar *_fmt = g_strdup_printf args;			\
 	g_string_append (gstring, _fmt);			\



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