diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-03-13 04:36:08 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-03-13 04:36:08 +0800 |
commit | e19514f1319263d57cb9ebf900513518b011c3b3 (patch) | |
tree | 858860a81a0dd69811d310a8a58ee48828db991d /camel/camel-digest-store.c | |
parent | 64980f67b06ced48f3d661acd90b5522338d5636 (diff) | |
download | gsoc2013-evolution-e19514f1319263d57cb9ebf900513518b011c3b3.tar.gz gsoc2013-evolution-e19514f1319263d57cb9ebf900513518b011c3b3.tar.zst gsoc2013-evolution-e19514f1319263d57cb9ebf900513518b011c3b3.zip |
Now takes a url argument.
2002-03-12 Jeffrey Stedfast <fejj@ximian.com>
* camel-digest-store.c (camel_digest_store_new): Now takes a url
argument.
* camel-digest-folder.c (digest_add_multipart): Fixed some memory
corruption and also modified to use CAMEL_IS_MIME_MESSAGE() rather
than comparing content-type strings.
(digest_get_message): Fixed a logic blooper.
* camel-folder-summary.c (camel_message_info_new_from_header): Set
the date fields of the CamelMessageInfo as well. This may even fix
some filter-related bugs where the user was trying to compare
dates.
svn path=/trunk/; revision=16126
Diffstat (limited to 'camel/camel-digest-store.c')
-rw-r--r-- | camel/camel-digest-store.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/camel/camel-digest-store.c b/camel/camel-digest-store.c index b082ac0962..3e2833442d 100644 --- a/camel/camel-digest-store.c +++ b/camel/camel-digest-store.c @@ -105,15 +105,24 @@ camel_digest_store_finalise (CamelObject *obj) /** * camel_digest_store_new: + * @url: * * Create a new CamelDigestStore object. * * Return value: A new CamelDigestStore widget. **/ CamelStore * -camel_digest_store_new (void) +camel_digest_store_new (const char *url) { - CamelStore *store = CAMEL_STORE (camel_object_new (camel_digest_store_get_type ())); + CamelStore *store; + CamelURL *uri; + + uri = camel_url_new (url, NULL); + if (!uri) + return NULL; + + store = CAMEL_STORE (camel_object_new (camel_digest_store_get_type ())); + CAMEL_SERVICE (store)->url = uri; return store; } |