diff options
author | Jonathon Jongsma <jonathon@quotidian.org> | 2009-12-12 01:51:55 +0800 |
---|---|---|
committer | Jonathon Jongsma <jonathon@quotidian.org> | 2009-12-16 04:16:09 +0800 |
commit | 0eef4618ca677cd11d54ce0ae8804b5b1ededf3b (patch) | |
tree | 0672e4006fe079420010fa34bd7ab46ae55af1c5 /mail/mail-config.h | |
parent | 6e73a7a8f31c3b890ad900960a24b930cfeb13ed (diff) | |
download | gsoc2013-evolution-0eef4618ca677cd11d54ce0ae8804b5b1ededf3b.tar.gz gsoc2013-evolution-0eef4618ca677cd11d54ce0ae8804b5b1ededf3b.tar.zst gsoc2013-evolution-0eef4618ca677cd11d54ce0ae8804b5b1ededf3b.zip |
Remove mail-config, vfolder, and filter deps from mail-folder-cache
Instead of pushing the updates to the right places, the folder cache simply
emits the appropriate signals and other objects are responsible for listening
and handling them appropriately. This allows us to cut down the dependencies of
MailFolderCache significantly, which is a huge step towards allowing us to split
it off for the backend.
Another nice thing about this is that it allows us to trim a lot of 'public' api
from the filter, vfolder, and config classes that were only used by the cache.
Now that stuff can all be internal since they're pulling changes rather than
having the changes pushed.
The last remaining problematic dependency in MailFolderCache is
EmFolderTreeModel. That is next on the chopping block.
https://bugzilla.gnome.org/show_bug.cgi?id=604627
Diffstat (limited to 'mail/mail-config.h')
-rw-r--r-- | mail/mail-config.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/mail/mail-config.h b/mail/mail-config.h index 6f127ece44..dc55403d93 100644 --- a/mail/mail-config.h +++ b/mail/mail-config.h @@ -85,10 +85,6 @@ gint mail_config_get_address_count (void); EAccountService *mail_config_get_default_transport (void); -/* uri's got changed by the store, etc */ -void mail_config_uri_renamed (GCompareFunc uri_cmp, const gchar *old, const gchar *new); -void mail_config_uri_deleted (GCompareFunc uri_cmp, const gchar *uri); - /* static utility functions */ gchar *mail_config_folder_to_cachename (CamelFolder *folder, const gchar *prefix); gchar *mail_config_folder_to_safe_url (CamelFolder *folder); |