aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-event.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-05-30 01:41:15 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-05-30 02:03:58 +0800
commit1605107f845c535d57eaefa80dc6a2b9618b8cab (patch)
tree70c820a4b71cebfbdfb74915e2da45c41478da09 /mail/em-event.h
parentf336cf9cdc4833498a1336dfa017cfc9fcc537f9 (diff)
downloadgsoc2013-evolution-1605107f845c535d57eaefa80dc6a2b9618b8cab.tar.gz
gsoc2013-evolution-1605107f845c535d57eaefa80dc6a2b9618b8cab.tar.zst
gsoc2013-evolution-1605107f845c535d57eaefa80dc6a2b9618b8cab.zip
Change EMEventTargetFolder contents.
Give it a CamelStore and folder name instead of an EAccount and folder URI. Both the EAccount and folder URI can be easily retrieved from the CamelStore and folder name.
Diffstat (limited to 'mail/em-event.h')
-rw-r--r--mail/em-event.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/mail/em-event.h b/mail/em-event.h
index f1cd25c59c..3fc5ac0fc3 100644
--- a/mail/em-event.h
+++ b/mail/em-event.h
@@ -72,11 +72,11 @@ typedef struct _EMEventTargetFolder EMEventTargetFolder;
struct _EMEventTargetFolder {
EEventTarget target;
- EAccount *account;
- gchar *uri;
+ CamelStore *store;
+ gchar *folder_name;
guint new;
gboolean is_inbox;
- gchar *name;
+ gchar *display_name;
/* valid (non-NULL) when only one new message reported */
gchar *msg_uid;
@@ -135,8 +135,8 @@ GType em_event_get_type (void);
EMEvent * em_event_peek (void);
EMEventTargetFolder *
em_event_target_new_folder (EMEvent *emp,
- EAccount *account,
- const gchar *uri,
+ CamelStore *store,
+ const gchar *folder_name,
guint32 count_new_msgs,
const gchar *msg_uid,
const gchar *msg_sender,