aboutsummaryrefslogtreecommitdiffstats
path: root/mail/component-factory.c
diff options
context:
space:
mode:
authorPeter Williams <peterw@src.gnome.org>2000-06-23 23:58:22 +0800
committerPeter Williams <peterw@src.gnome.org>2000-06-23 23:58:22 +0800
commit45cca0f241c5b2c2b0952f7648b63541afc09e76 (patch)
treee86a3ab8884221e6543aa4468be50cceead61945 /mail/component-factory.c
parent422046cc58a534f6916205f282cc6b50a98eeb95 (diff)
downloadgsoc2013-evolution-45cca0f241c5b2c2b0952f7648b63541afc09e76.tar.gz
gsoc2013-evolution-45cca0f241c5b2c2b0952f7648b63541afc09e76.tar.zst
gsoc2013-evolution-45cca0f241c5b2c2b0952f7648b63541afc09e76.zip
Little prototype fixes
svn path=/trunk/; revision=3708
Diffstat (limited to 'mail/component-factory.c')
-rw-r--r--mail/component-factory.c7
1 files changed, 2 insertions, 5 deletions
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;