Fix for Evolution's new-mail-notify plugin to track changes to DBus API

David Malcolm dmalcolm at
Fri Mar 11 17:16:14 PST 2005

(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

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

Dave Malcolm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: evo-fix-for-changing-dbus-api.patch
Type: text/x-patch
Size: 4671 bytes
Desc: not available
Url :

More information about the dbus mailing list