gnome-applets r10604 - in trunk/trashapplet: . src



Author: chpe
Date: Mon Jan 28 12:37:33 2008
New Revision: 10604
URL: http://svn.gnome.org/viewvc/gnome-applets?rev=10604&view=rev

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

	* src/xstuff.c: (get_typed_property_data): Don't use
	G_GNUC_PRETTY_FUNCTION. Fixes the build with glib trunk.

Modified:
   trunk/trashapplet/ChangeLog
   trunk/trashapplet/src/xstuff.c

Modified: trunk/trashapplet/src/xstuff.c
==============================================================================
--- trunk/trashapplet/src/xstuff.c	(original)
+++ trunk/trashapplet/src/xstuff.c	Mon Jan 28 12:37:33 2008
@@ -90,18 +90,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]