aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-02-25 07:46:47 +0800
committerDan Winship <danw@src.gnome.org>2000-02-25 07:46:47 +0800
commit15343155c569fe8d47a8d0f0ff926a94fb78fc6e (patch)
tree2f86080475fb8f185e8ccb6c7dbcce65fda643bb
parentf4bdc23dbc5b1dc87398267098bfc0d3d70b036c (diff)
downloadgsoc2013-evolution-15343155c569fe8d47a8d0f0ff926a94fb78fc6e.tar
gsoc2013-evolution-15343155c569fe8d47a8d0f0ff926a94fb78fc6e.tar.gz
gsoc2013-evolution-15343155c569fe8d47a8d0f0ff926a94fb78fc6e.tar.bz2
gsoc2013-evolution-15343155c569fe8d47a8d0f0ff926a94fb78fc6e.tar.lz
gsoc2013-evolution-15343155c569fe8d47a8d0f0ff926a94fb78fc6e.tar.xz
gsoc2013-evolution-15343155c569fe8d47a8d0f0ff926a94fb78fc6e.tar.zst
gsoc2013-evolution-15343155c569fe8d47a8d0f0ff926a94fb78fc6e.zip
update for CamelFolder changes
svn path=/trunk/; revision=1927
-rw-r--r--camel/providers/mbox/camel-mbox-folder.c17
1 files changed, 11 insertions, 6 deletions
diff --git a/camel/providers/mbox/camel-mbox-folder.c b/camel/providers/mbox/camel-mbox-folder.c
index 5b8d182838..45390c3928 100644
--- a/camel/providers/mbox/camel-mbox-folder.c
+++ b/camel/providers/mbox/camel-mbox-folder.c
@@ -59,7 +59,9 @@ static CamelFolderClass *parent_class=NULL;
#define CMBOXS_CLASS(so) CAMEL_STORE_CLASS (GTK_OBJECT(so)->klass)
-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 _set_name(CamelFolder *folder, const gchar *name, CamelException *ex);
@@ -96,7 +98,7 @@ camel_mbox_folder_class_init (CamelMboxFolderClass *camel_mbox_folder_class)
/* virtual method definition */
/* virtual method overload */
- camel_folder_class->init_with_store = _init_with_store;
+ camel_folder_class->init = _init;
camel_folder_class->set_name = _set_name;
camel_folder_class->open = _open;
camel_folder_class->close = _close;
@@ -173,7 +175,9 @@ camel_mbox_folder_get_type (void)
static void
-_init_with_store (CamelFolder *folder, CamelStore *parent_store, CamelException *ex)
+_init (CamelFolder *folder, CamelStore *parent_store,
+ CamelFolder *parent_folder, const gchar *name, gchar separator,
+ CamelException *ex)
{
CamelMboxFolder *mbox_folder = CAMEL_MBOX_FOLDER (folder);
@@ -181,10 +185,11 @@ _init_with_store (CamelFolder *folder, CamelStore *parent_store, CamelException
CAMEL_LOG_FULL_DEBUG ("Entering CamelMboxFolder::init_with_store\n");
/* call parent method */
- parent_class->init_with_store (folder, parent_store, ex);
+ parent_class->init (folder, parent_store, parent_folder,
+ name, separator, ex);
if (camel_exception_get_id (ex)) return;
- /* we assume that the parent init_with_store
+ /* we assume that the parent init
method checks for the existance of @folder */
folder->can_hold_messages = TRUE;
@@ -200,7 +205,7 @@ _init_with_store (CamelFolder *folder, CamelStore *parent_store, CamelException
mbox_folder->internal_summary = NULL;
mbox_folder->uid_array = NULL;
- CAMEL_LOG_FULL_DEBUG ("Leaving CamelMhFolder::init_with_store\n");
+ CAMEL_LOG_FULL_DEBUG ("Leaving CamelMboxFolder::init_with_store\n");
}