From ebf505d16dda2946441e05b2bdb15c4055d448a2 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Fri, 11 Aug 2000 00:03:08 +0000 Subject: Update for changed prototype, pass evolution_homedir arg to * gui/component/addressbook-component.c (owner_set_cb): Update for changed prototype, pass evolution_homedir arg to setup_ldap_storage. * gui/component/e-ldap-storage.c (setup_ldap_storage): Now takes an evolution_homedir arg, uses that to generate the path to the ldapservers.xml file, and stores the result in a static variable. (e_ldap_storage_add_server, e_ldap_storage_remove_server): Use that static variable rather than hardcoding the path to the file. svn path=/trunk/; revision=4713 --- addressbook/gui/component/e-ldap-storage.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'addressbook/gui/component/e-ldap-storage.h') diff --git a/addressbook/gui/component/e-ldap-storage.h b/addressbook/gui/component/e-ldap-storage.h index d9870ae69f..9d3e35b4db 100644 --- a/addressbook/gui/component/e-ldap-storage.h +++ b/addressbook/gui/component/e-ldap-storage.h @@ -36,7 +36,8 @@ typedef struct { char *uri; /* filled in from the above */ } ELDAPServer; -void setup_ldap_storage (EvolutionShellComponent *shell_component); +void setup_ldap_storage (EvolutionShellComponent *shell_component, + const char *evolution_homedir); void e_ldap_storage_add_server (ELDAPServer *server); void e_ldap_storage_remove_server (char *name); -- cgit v1.2.3