aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/addressbook-component.c
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui/component/addressbook-component.c')
-rw-r--r--addressbook/gui/component/addressbook-component.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/addressbook/gui/component/addressbook-component.c b/addressbook/gui/component/addressbook-component.c
index 51a76ceaee..1fa8c67f53 100644
--- a/addressbook/gui/component/addressbook-component.c
+++ b/addressbook/gui/component/addressbook-component.c
@@ -478,8 +478,7 @@ addressbook_component_init (AddressbookComponent *component)
priv = g_new0 (AddressbookComponentPrivate, 1);
- /* EPFIXME: Should use a custom one instead? Also we should add
- addressbook_component_peek_gconf_client(). */
+ /* EPFIXME: Should use a custom one instead? */
priv->gconf_client = gconf_client_get_default ();
priv->source_list = e_source_list_new_for_gconf (priv->gconf_client,
@@ -509,6 +508,14 @@ addressbook_component_peek (void)
return component;
}
+GConfClient*
+addressbook_component_peek_gconf_client (AddressbookComponent *component)
+{
+ g_return_val_if_fail (ADDRESSBOOK_IS_COMPONENT (component), NULL);
+
+ return component->priv->gconf_client;
+}
+
const char *
addressbook_component_peek_base_directory (AddressbookComponent *component)
{