diff options
author | Dan Winship <danw@src.gnome.org> | 2000-02-25 00:43:09 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-02-25 00:43:09 +0800 |
commit | 4ec5c4b998528e2854aa52cbaf107e5b6f22ee6e (patch) | |
tree | ecbe56a984d8c4e96ebf41b80742ac0b5ad0bb45 /camel/camel-store.c | |
parent | 55e6218d5907cc9f27ad81a15d750e7c3d2d5d75 (diff) | |
download | gsoc2013-evolution-4ec5c4b998528e2854aa52cbaf107e5b6f22ee6e.tar.gz gsoc2013-evolution-4ec5c4b998528e2854aa52cbaf107e5b6f22ee6e.tar.zst gsoc2013-evolution-4ec5c4b998528e2854aa52cbaf107e5b6f22ee6e.zip |
Move "separator" from camel-store to camel-folder, since it can vary from
location to location in an IMAP store. Rename CamelFolder::init_with_store
to init and add parent_folder, name, and separator arguments.
svn path=/trunk/; revision=1919
Diffstat (limited to 'camel/camel-store.c')
-rw-r--r-- | camel/camel-store.c | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/camel/camel-store.c b/camel/camel-store.c index dee1ef295c..5428dde2e2 100644 --- a/camel/camel-store.c +++ b/camel/camel-store.c @@ -37,7 +37,6 @@ static void _set_separator(CamelStore *store, gchar sep, CamelException *ex); static CamelFolder *_get_root_folder(CamelStore *store, CamelException *ex); static CamelFolder *_get_default_folder(CamelStore *store, CamelException *ex); static CamelFolder *_get_folder (CamelStore *store, const gchar *folder_name, CamelException *ex); -static gchar _get_separator (CamelStore *store, CamelException *ex); static void camel_store_class_init (CamelStoreClass *camel_store_class) @@ -46,8 +45,6 @@ camel_store_class_init (CamelStoreClass *camel_store_class) parent_class = gtk_type_class (camel_service_get_type ()); /* virtual method definition */ - camel_store_class->set_separator = _set_separator; - camel_store_class->get_separator = _get_separator; camel_store_class->get_folder = _get_folder; camel_store_class->get_root_folder = _get_root_folder; camel_store_class->get_default_folder = _get_default_folder; @@ -86,52 +83,6 @@ camel_store_get_type (void) -/** - * camel_store_set_separator: set the character which separates this folder path from the folders names in a lower level of hierarchy. - * - * @store: - * @sep: - * - **/ -static void -_set_separator (CamelStore *store, gchar sep, CamelException *ex) -{ - store->separator = sep; -} - - - - - -static gchar -_get_separator (CamelStore *store, CamelException *ex) -{ - g_assert(store); - return store->separator; -} - - - -/** - * camel_store_get_separator: return the character which separates this folder path from the folders names in a lower level of hierarchy. - * @store: store - * - * - * - * Return value: the separator - **/ -gchar -camel_store_get_separator (CamelStore *store, CamelException *ex) -{ - return CS_CLASS(store)->get_separator (store, ex); -} - - - - - - - static CamelFolder * _get_folder (CamelStore *store, const gchar *folder_name, CamelException *ex) { |