[evolution-groupwise] Adapt to new CamelSubscribable interface.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-groupwise] Adapt to new CamelSubscribable interface.
- Date: Mon, 15 Aug 2011 23:07:32 +0000 (UTC)
commit aeca09bfe2d398d68af1311b7bc2376bd93f0517
Author: Matthew Barnes <mbarnes redhat com>
Date: Mon Aug 15 18:06:39 2011 -0400
Adapt to new CamelSubscribable interface.
src/plugins/share-folder-common.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/plugins/share-folder-common.c b/src/plugins/share-folder-common.c
index 0fdfb5f..00c3dbd 100644
--- a/src/plugins/share-folder-common.c
+++ b/src/plugins/share-folder-common.c
@@ -150,10 +150,10 @@ create_folder_exec (struct _EMCreateFolder *m,
if ((m->fi = camel_store_create_folder_sync (
m->store, m->parent, m->name, cancellable, error))) {
- if (camel_store_supports_subscriptions (m->store))
- camel_store_subscribe_folder_sync (
- m->store, m->full_name,
- cancellable, error);
+ if (CAMEL_IS_SUBSCRIBABLE (m->store))
+ camel_subscribable_subscribe_folder_sync (
+ CAMEL_SUBSCRIBABLE (m->store),
+ m->full_name, cancellable, error);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]