aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-component.h
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2003-11-17 11:32:41 +0800
committerMichael Zucci <zucchi@src.gnome.org>2003-11-17 11:32:41 +0800
commitf71a064770e324fb61d4e595151184c94d3f90d1 (patch)
tree9bf3e1327e0a034cddf7c92d74e8e7d724b8f17c /mail/mail-component.h
parent4daa7491aad977c5fa705076e3ca9b80e51b3ab5 (diff)
downloadgsoc2013-evolution-f71a064770e324fb61d4e595151184c94d3f90d1.tar
gsoc2013-evolution-f71a064770e324fb61d4e595151184c94d3f90d1.tar.gz
gsoc2013-evolution-f71a064770e324fb61d4e595151184c94d3f90d1.tar.bz2
gsoc2013-evolution-f71a064770e324fb61d4e595151184c94d3f90d1.tar.lz
gsoc2013-evolution-f71a064770e324fb61d4e595151184c94d3f90d1.tar.xz
gsoc2013-evolution-f71a064770e324fb61d4e595151184c94d3f90d1.tar.zst
gsoc2013-evolution-f71a064770e324fb61d4e595151184c94d3f90d1.zip
thin wrapper on mail_component_get_local_inbox.
2003-11-17 Not Zed <NotZed@Ximian.com> * mail-tools.c (mail_tool_get_local_inbox): thin wrapper on mail_component_get_local_inbox. * mail-component.c (mail_component_get_local_inbox): helper to get the default local inbox. * mail-ops.c (fetch_mail_fetch): if we can't get the inbox, make sure we still unref the filter driver here by using hte same exit code. Fixes a crash. svn path=/trunk/; revision=23377
Diffstat (limited to 'mail/mail-component.h')
-rw-r--r--mail/mail-component.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/mail/mail-component.h b/mail/mail-component.h
index 1d31a22da5..8df5ed8700 100644
--- a/mail/mail-component.h
+++ b/mail/mail-component.h
@@ -29,19 +29,14 @@
#include <camel/camel-store.h>
#include <filter/rule-context.h>
#include <bonobo/bonobo-object.h>
-
-#include "em-folder-tree-model.h"
-
#include "Evolution.h"
-
#define MAIL_TYPE_COMPONENT (mail_component_get_type ())
#define MAIL_COMPONENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MAIL_TYPE_COMPONENT, MailComponent))
#define MAIL_COMPONENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MAIL_TYPE_COMPONENT, MailComponentClass))
#define MAIL_IS_COMPONENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MAIL_TYPE_COMPONENT))
#define MAIL_IS_COMPONENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), MAIL_TYPE_COMPONENT))
-
typedef struct _MailComponent MailComponent;
typedef struct _MailComponentPrivate MailComponentPrivate;
typedef struct _MailComponentClass MailComponentClass;
@@ -58,7 +53,6 @@ struct _MailComponentClass {
POA_GNOME_Evolution_Component__epv epv;
};
-
GType mail_component_get_type (void);
MailComponent *mail_component_peek (void);
@@ -85,7 +79,8 @@ void mail_component_stores_foreach (MailComponent *component,
void mail_component_remove_folder (MailComponent *component, CamelStore *store, const char *path);
-EMFolderTreeModel *mail_component_get_tree_model (MailComponent *component);
+struct _EMFolderTreeModel *mail_component_get_tree_model (MailComponent *component);
+struct _CamelFolder *mail_component_get_local_inbox(MailComponent *mc, struct _CamelException *ex);
char *em_uri_from_camel (const char *curi);
char *em_uri_to_camel (const char *euri);