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.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/addressbook/gui/component/addressbook-component.c b/addressbook/gui/component/addressbook-component.c
index 209c965e8d..934496418c 100644
--- a/addressbook/gui/component/addressbook-component.c
+++ b/addressbook/gui/component/addressbook-component.c
@@ -38,10 +38,14 @@
#define GNOME_EVOLUTION_ADDRESSBOOK_COMPONENT_FACTORY_ID "OAFIID:GNOME_Evolution_Addressbook_ShellComponentFactory"
-/* Nasty hack for filters to be able to find folders */
-/* Not even used with addressbook??? */
EvolutionShellClient *global_shell_client;
+EvolutionShellClient *
+addressbook_component_get_shell_client (void)
+{
+ return global_shell_client;
+}
+
static BonoboGenericFactory *factory = NULL;
static const EvolutionShellComponentFolderType folder_types[] = {