GNOME Bugzilla – Bug 686561
Add version definitions to libgoa
Last modified: 2012-10-21 17:40:49 UTC
Given the accumulation of new GOA providers over time (Exchange, Kerberos, and now OwnCloud), it's important that libgoa provide version macros so applications can optionally utilize new provider APIs without requiring a bleeding-edge version of GOA. Basically I'd like to be able to do this from Evolution-Data-Server: #if GOA_CHECK_VERSION(3,7,1) ... put OwnCloud integration here ... #endif You can copy from GLib, GTK+ or even E-D-S: http://developer.gnome.org/glib/stable/glib-Version-Information.html http://developer.gnome.org/gtk3/stable/gtk3-Feature-Test-Macros.html http://developer.gnome.org/libedataserver/stable/libedataserver-Version-Information.html
Created attachment 226932 [details] [review] goa: Add version definitions
Created attachment 226935 [details] [review] goa: Add version definitions
Comment on attachment 226935 [details] [review] goa: Add version definitions Testing with a toy program gave satisfactory results.
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
Thanks, that will be very helpful!