aboutsummaryrefslogtreecommitdiffstats
path: root/mail
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
parent422046cc58a534f6916205f282cc6b50a98eeb95 (diff)
downloadgsoc2013-evolution-45cca0f241c5b2c2b0952f7648b63541afc09e76.tar
gsoc2013-evolution-45cca0f241c5b2c2b0952f7648b63541afc09e76.tar.gz
gsoc2013-evolution-45cca0f241c5b2c2b0952f7648b63541afc09e76.tar.bz2
gsoc2013-evolution-45cca0f241c5b2c2b0952f7648b63541afc09e76.tar.lz
gsoc2013-evolution-45cca0f241c5b2c2b0952f7648b63541afc09e76.tar.xz
gsoc2013-evolution-45cca0f241c5b2c2b0952f7648b63541afc09e76.tar.zst
gsoc2013-evolution-45cca0f241c5b2c2b0952f7648b63541afc09e76.zip
Little prototype fixes
svn path=/trunk/; revision=3708
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/component-factory.c7
2 files changed, 7 insertions, 5 deletions
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 <peterw@curious-george.helixcode.com>
+
+ * component-factory.c: Include e-util/e-setup.h for the
+ prototype of evolution_dir; prototype create_news_storage.
+
2000-06-22 Jeffrey Stedfast <fejj@helixcode.com>
* 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;