client-conf: Move x11 and env loading to pa_client_conf_load()

This simplifies the code a bit.
This commit is contained in:
Tanu Kaskinen 2014-06-08 16:32:54 +03:00
parent 067e61cb66
commit 5141188ca8
6 changed files with 58 additions and 64 deletions

View file

@ -125,7 +125,7 @@ static enum get_address_result_t get_address(pa_server_type_t server_type, char
*address = NULL;
pa_client_conf_load(conf);
pa_client_conf_load(conf, false, false);
if (conf->default_dbus_server)
*address = pa_xstrdup(conf->default_dbus_server);