Get rid of format_func.
This commit is contained in:
parent
89d870259f
commit
d43f911108
|
@ -1,3 +1,8 @@
|
||||||
|
Thu Feb 15 02:29:01 PST 2007 Christian Hammond <chipx86@chipx86.com>
|
||||||
|
|
||||||
|
* libnotify/notify.c:
|
||||||
|
- Get rid of format_func.
|
||||||
|
|
||||||
Thu Feb 15 02:06:11 PST 2007 Christian Hammond <chipx86@chipx86.com>
|
Thu Feb 15 02:06:11 PST 2007 Christian Hammond <chipx86@chipx86.com>
|
||||||
|
|
||||||
* libnotify/notification.c:
|
* libnotify/notification.c:
|
||||||
|
|
|
@ -33,12 +33,6 @@ static DBusGProxy *_proxy = NULL;
|
||||||
static DBusGConnection *_dbus_gconn = NULL;
|
static DBusGConnection *_dbus_gconn = NULL;
|
||||||
static GList *_active_notifications = 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:
|
* notify_init:
|
||||||
* @app_name: The name of the application initializing libnotify.
|
* @app_name: The name of the application initializing libnotify.
|
||||||
|
|
Loading…
Reference in New Issue