gnome-panel r10766 - trunk/gnome-panel



Author: chpe
Date: Mon Jan 28 12:39:19 2008
New Revision: 10766
URL: http://svn.gnome.org/viewvc/gnome-panel?rev=10766&view=rev

Log:
2008-01-28  Christian Persch  <chpe gnome org>

	* xstuff.c: (get_typed_property_data): 
	Use G_STRFUNC instead of the deprecated G_GNUC_FUNCTION.

Modified:
   trunk/gnome-panel/ChangeLog
   trunk/gnome-panel/xstuff.c

Modified: trunk/gnome-panel/xstuff.c
==============================================================================
--- trunk/gnome-panel/xstuff.c	(original)
+++ trunk/gnome-panel/xstuff.c	Mon Jan 28 12:39:19 2008
@@ -93,18 +93,18 @@
       requested_type != AnyPropertyType &&
       requested_type != type_returned)
     {
-      g_warning (G_GNUC_PRETTY_FUNCTION "(): Property has wrong type, probably on crack");
+      g_warning (G_STRFUNC "(): Property has wrong type, probably on crack");
       abort++;
     }
   if (!abort && bytes_after_return)
     {
-      g_warning (G_GNUC_PRETTY_FUNCTION "(): Eeek, property has more than %u bytes, stored on harddisk?",
+      g_warning (G_STRFUNC "(): Eeek, property has more than %u bytes, stored on harddisk?",
 		 prop_buffer_lengh);
       abort++;
     }
   if (!abort && expected_format && expected_format != format_returned)
     {
-      g_warning (G_GNUC_PRETTY_FUNCTION "(): Expected format (%u) unmatched (%d), programmer was drunk?",
+      g_warning (G_STRFUNC "(): Expected format (%u) unmatched (%d), programmer was drunk?",
 		 expected_format, format_returned);
       abort++;
     }



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