From 45cca0f241c5b2c2b0952f7648b63541afc09e76 Mon Sep 17 00:00:00 2001 From: Peter Williams Date: Fri, 23 Jun 2000 15:58:22 +0000 Subject: Little prototype fixes svn path=/trunk/; revision=3708 --- mail/ChangeLog | 5 +++++ mail/component-factory.c | 7 ++----- 2 files changed, 7 insertions(+), 5 deletions(-) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index 43c143a1a4..503c0fda66 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2000-06-23 Peter Williams + + * component-factory.c: Include e-util/e-setup.h for the + prototype of evolution_dir; prototype create_news_storage. + 2000-06-22 Jeffrey Stedfast * folder-browser.c (folder_browser_load_folder): Now should diff --git a/mail/component-factory.c b/mail/component-factory.c index 19969c7098..60b11c6b38 100644 --- a/mail/component-factory.c +++ b/mail/component-factory.c @@ -36,12 +36,14 @@ #include "folder-browser.h" #include "mail.h" /* YUCK FIXME */ #include "e-util/e-gui-utils.h" +#include "e-util/e-setup.h" #include "filter/filter-driver.h" #include "component-factory.h" static void create_vfolder_storage (EvolutionShellComponent *shell_component); static void create_imap_storage (EvolutionShellComponent *shell_component); +static void create_news_storage (EvolutionShellComponent *shell_component); #ifdef USING_OAF #define COMPONENT_FACTORY_ID "OAFIID:evolution-shell-component-factory:evolution-mail:0ea887d5-622b-4b8c-b525-18aa1cbe18a6" @@ -203,7 +205,6 @@ create_vfolder_storage (EvolutionShellComponent *shell_component) FilterDriver *fe; int i, count; char *user, *system; - extern char *evolution_dir; fe = filter_driver_new(); user = g_strdup_printf ("%s/vfolders.xml", evolution_dir); @@ -250,8 +251,6 @@ create_vfolder_storage (EvolutionShellComponent *shell_component) static void create_imap_storage (EvolutionShellComponent *shell_component) { - /* FIXME: KLUDGE! */ - extern gchar *evolution_dir; Evolution_Shell corba_shell; EvolutionStorage *storage; char *cpath, *source, *server, *p; @@ -337,8 +336,6 @@ create_imap_storage (EvolutionShellComponent *shell_component) static void create_news_storage (EvolutionShellComponent *shell_component) { - /* FIXME: KLUDGE! */ - extern gchar *evolution_dir; Evolution_Shell corba_shell; EvolutionStorage *storage; char *cpath, *source, *server, *p; -- cgit v1.2.3