diff options
author | Dan Winship <danw@src.gnome.org> | 2000-02-25 08:03:17 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-02-25 08:03:17 +0800 |
commit | d83721f8b79ba10df2d067d7d0384c1a0790574e (patch) | |
tree | a6ba2be9e5d1a926bb0ee278454932061a08865d /camel | |
parent | 15343155c569fe8d47a8d0f0ff926a94fb78fc6e (diff) | |
download | gsoc2013-evolution-d83721f8b79ba10df2d067d7d0384c1a0790574e.tar.gz gsoc2013-evolution-d83721f8b79ba10df2d067d7d0384c1a0790574e.tar.zst gsoc2013-evolution-d83721f8b79ba10df2d067d7d0384c1a0790574e.zip |
last set of changes for CamelFolder changes. Evolution builds again...
svn path=/trunk/; revision=1928
Diffstat (limited to 'camel')
-rw-r--r-- | camel/camel-folder-pt-proxy.c | 45 |
1 files changed, 23 insertions, 22 deletions
diff --git a/camel/camel-folder-pt-proxy.c b/camel/camel-folder-pt-proxy.c index e2e25c9149..a181ba8582 100644 --- a/camel/camel-folder-pt-proxy.c +++ b/camel/camel-folder-pt-proxy.c @@ -53,9 +53,9 @@ enum CamelFolderFunc { static CamelFuncDef _camel_func_def [CAMEL_FOLDER__LAST_FUNC]; -static void _init_with_store (CamelFolder *folder, - CamelStore *parent_store, - CamelException *ex); +static void _init (CamelFolder *folder, CamelStore *parent_store, + CamelFolder *parent_folder, const gchar *name, + gchar separator, CamelException *ex); static void _open_async (CamelFolder *folder, CamelFolderOpenMode mode, CamelFolderAsyncCallback callback, @@ -78,10 +78,10 @@ static void _set_name (CamelFolder *folder, static const gchar *_get_name (CamelFolder *folder, CamelException *ex); static const gchar *_get_full_name (CamelFolder *folder, CamelException *ex); -static gboolean _can_hold_folders (CamelFolder *folder, CamelException *ex); -static gboolean _can_hold_messages(CamelFolder *folder, CamelException *ex); +static gboolean _can_hold_folders (CamelFolder *folder); +static gboolean _can_hold_messages(CamelFolder *folder); static gboolean _exists (CamelFolder *folder, CamelException *ex); -static gboolean _is_open (CamelFolder *folder, CamelException *ex); +static gboolean _is_open (CamelFolder *folder); static CamelFolder *_get_subfolder (CamelFolder *folder, const gchar *folder_name, CamelException *ex); static gboolean _create (CamelFolder *folder, CamelException *ex); static gboolean _delete (CamelFolder *folder, gboolean recurse, CamelException *ex); @@ -114,7 +114,7 @@ camel_folder_pt_proxy_class_init (CamelFolderPtProxyClass *camel_folder_pt_proxy parent_class = gtk_type_class (camel_folder_get_type ()); /* virtual method definition */ - camel_folder_class->init_with_store = _init_with_store; + camel_folder_class->init = _init; camel_folder_class->open = _open; camel_folder_class->close = _close; #ifdef FOLDER_ASYNC_TEST @@ -273,20 +273,21 @@ _proxy_cb_user_data (_ProxyCbUserData *pud, /* ******** */ -/* thread->init_with_store implementation */ -static void -_init_with_store (CamelFolder *folder, - CamelStore *parent_store, - CamelException *ex) +/* thread->init implementation */ +static void +_init (CamelFolder *folder, CamelStore *parent_store, + CamelFolder *parent_folder, const gchar *name, + gchar separator, CamelException *ex) { - parent_class->init_with_store (folder, parent_store, ex); + parent_class->init (folder, parent_store, parent_folder, + name, separator, ex); if (ex->id != CAMEL_EXCEPTION_NONE) return; #warning use proxy store here - CF_CLASS (folder)->init_with_store (CAMEL_FOLDER_PT_PROXY (folder)->real_folder, - parent_store, - ex); + CF_CLASS (folder)->init (CAMEL_FOLDER_PT_PROXY (folder)->real_folder, + parent_store, parent_folder, name, + separator, ex); } @@ -518,26 +519,26 @@ _get_full_name (CamelFolder *folder, CamelException *ex) static gboolean -_can_hold_folders (CamelFolder *folder, CamelException *ex) +_can_hold_folders (CamelFolder *folder) { CamelFolderPtProxy *proxy_folder; proxy_folder = CAMEL_FOLDER_PT_PROXY (folder); return CF_CLASS (proxy_folder->real_folder)-> - can_hold_folders (proxy_folder->real_folder, ex); + can_hold_folders (proxy_folder->real_folder); } static gboolean -_can_hold_messages (CamelFolder *folder, CamelException *ex) +_can_hold_messages (CamelFolder *folder) { CamelFolderPtProxy *proxy_folder; proxy_folder = CAMEL_FOLDER_PT_PROXY (folder); return CF_CLASS (proxy_folder->real_folder)-> - can_hold_messages (proxy_folder->real_folder, ex); + can_hold_messages (proxy_folder->real_folder); } @@ -556,13 +557,13 @@ _exists (CamelFolder *folder, CamelException *ex) static gboolean -_is_open (CamelFolder *folder, CamelException *ex) +_is_open (CamelFolder *folder) { CamelFolderPtProxy *proxy_folder; proxy_folder = CAMEL_FOLDER_PT_PROXY (folder); return CF_CLASS (proxy_folder->real_folder)-> - is_open (proxy_folder->real_folder, ex); + is_open (proxy_folder->real_folder); } |