libpulse: Always return a three part version number in API calls.

For both the headers and the library we should provide clean, three part
strings as this has been what we've previously done in the past
and some external systems apparently rely on this format. While it's not
something we've officially commented on before, there is no real advantage
to us to change it so let's not try to tidy things up too much
considering some third party apps (e.g. Skype) seem to dislike a two
part version string.
This commit is contained in:
Colin Guthrie 2011-10-01 12:03:44 +01:00
parent 6a9272f950
commit 7563e0bbb5
2 changed files with 2 additions and 2 deletions

View file

@ -1281,7 +1281,7 @@ pa_operation* pa_context_set_name(pa_context *c, const char *name, pa_context_su
}
const char* pa_get_library_version(void) {
return PACKAGE_VERSION;
return pa_get_headers_version();
}
const char* pa_context_get_server(pa_context *c) {