totem r5932 - in trunk: . src



Author: bcameron
Date: Fri Jan 23 07:43:27 2009
New Revision: 5932
URL: http://svn.gnome.org/viewvc/totem?rev=5932&view=rev

Log:
2009-01-23  Brian Cameron  <brian cameron sun com>

        * src/eggfileformatchooser.c:  Use G_STRFUNC instead of __FUNCTION__
        so code compiles with non-gcc compilers.  Fixes bug #568511.


Modified:
   trunk/ChangeLog
   trunk/src/eggfileformatchooser.c

Modified: trunk/src/eggfileformatchooser.c
==============================================================================
--- trunk/src/eggfileformatchooser.c	(original)
+++ trunk/src/eggfileformatchooser.c	Fri Jan 23 07:43:27 2009
@@ -621,7 +621,7 @@
 
   if (0 == format)
     {
-      g_warning ("%s: No file format selected. Cannot append extension.", __FUNCTION__);
+      g_warning ("%s: No file format selected. Cannot append extension.", G_STRFUNC);
       return NULL;
     }
 
@@ -648,7 +648,7 @@
   if (NULL == extensions)
     {
       g_warning ("%s: File format %d doesn't provide file extensions. "
-                 "Cannot append extension.", __FUNCTION__, format);
+                 "Cannot append extension.", G_STRFUNC, format);
       return NULL;
     }
 



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