From d43f911108f2e38545d416ff1a0cce686ddabf3c Mon Sep 17 00:00:00 2001 From: Christian Hammond Date: Thu, 15 Feb 2007 10:29:16 +0000 Subject: [PATCH] Get rid of format_func. --- ChangeLog | 5 +++++ libnotify/notify.c | 6 ------ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index c207a71..d7800f3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Feb 15 02:29:01 PST 2007 Christian Hammond + + * libnotify/notify.c: + - Get rid of format_func. + Thu Feb 15 02:06:11 PST 2007 Christian Hammond * libnotify/notification.c: diff --git a/libnotify/notify.c b/libnotify/notify.c index abd9cb2..8aa0499 100644 --- a/libnotify/notify.c +++ b/libnotify/notify.c @@ -33,12 +33,6 @@ static DBusGProxy *_proxy = NULL; 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.