[Galago-commits] r2967 - in trunk/libnotify: . libnotify

galago-commits at freedesktop.org galago-commits at freedesktop.org
Thu Feb 15 02:29:17 PST 2007


Author: chipx86
Date: 2007-02-15 02:29:16 -0800 (Thu, 15 Feb 2007)
New Revision: 2967

Modified:
   trunk/libnotify/ChangeLog
   trunk/libnotify/libnotify/notify.c
Log:
Get rid of format_func.


Modified: trunk/libnotify/ChangeLog
===================================================================
--- trunk/libnotify/ChangeLog	2007-02-15 10:10:32 UTC (rev 2966)
+++ trunk/libnotify/ChangeLog	2007-02-15 10:29:16 UTC (rev 2967)
@@ -1,3 +1,8 @@
+Thu Feb 15 02:29:01 PST 2007  Christian Hammond <chipx86 at chipx86.com>
+
+	* libnotify/notify.c:
+	  - Get rid of format_func.
+
 Thu Feb 15 02:06:11 PST 2007  Christian Hammond <chipx86 at chipx86.com>
 
 	* libnotify/notification.c:

Modified: trunk/libnotify/libnotify/notify.c
===================================================================
--- trunk/libnotify/libnotify/notify.c	2007-02-15 10:10:32 UTC (rev 2966)
+++ trunk/libnotify/libnotify/notify.c	2007-02-15 10:29:16 UTC (rev 2967)
@@ -33,12 +33,6 @@
 static DBusGConnection *_dbus_gconn = NULL;
 static GList *_active_notifications = NULL;
 
-#ifdef __GNUC__
-#  define format_func __attribute__((format(printf, 1, 2)))
-#else /* no format string checking with this compiler */
-#  define format_func
-#endif
-
 /**
  * notify_init:
  * @app_name: The name of the application initializing libnotify.



More information about the galago-commits mailing list