From 0eef4618ca677cd11d54ce0ae8804b5b1ededf3b Mon Sep 17 00:00:00 2001 From: Jonathon Jongsma Date: Fri, 11 Dec 2009 11:51:55 -0600 Subject: 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 --- mail/mail-config.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'mail/mail-config.h') 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); -- cgit v1.2.3