Re: [evolution-patches] Fix for Evolution's new-mail-notify plugin to track changes to DBus API
- From: Not Zed <notzed ximian com>
- To: David Malcolm <dmalcolm redhat com>
- Cc: DBus List <dbus lists freedesktop org>, Evolution Patches <evolution-patches ximian com>
- Subject: Re: [evolution-patches] Fix for Evolution's new-mail-notify plugin to track changes to DBus API
- Date: Sat, 12 Mar 2005 13:15:06 +0800
Oh dear, didn't realise dbus was so experiemental.
Looks ok to me.
On Fri, 2005-03-11 at 20:16 -0500, David Malcolm wrote:
(cross-posted to evolution-patches and to the FreeDesktop dbus list)
Attached is a patch to Evolution that extracts the version of the DBus
API at configuration time as a preprocessor macro, and then uses it in
the new-mail-notify plugin to hack in an extra level of indirection in
the call to dbus_message_append_args if the DBus version is >=0.31
Somewhat ugly (but then Dbus doesn't yet offer an API stability
guarantee).
It multiplies the output from pkgconfig by 1000 since preprocessor
defines can't have decimal points in them - is there a saner way to do
this?
Dave Malcolm
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]