[evolution-data-server] De-deprecate camel_folder_info_build()
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] De-deprecate camel_folder_info_build()
- Date: Mon, 14 Jan 2019 10:02:14 +0000 (UTC)
commit 4ac94d8c1746f855c9f42b191affd27935246100
Author: Milan Crha <mcrha redhat com>
Date: Mon Jan 14 11:00:07 2019 +0100
De-deprecate camel_folder_info_build()
It is used by other 3rd-party providers, thus do not deprecate it, to avoid
code duplication.
src/camel/camel-store.c | 4 ----
src/camel/camel-store.h | 2 --
2 files changed, 6 deletions(-)
---
diff --git a/src/camel/camel-store.c b/src/camel/camel-store.c
index 66567e124..7e8aac5b5 100644
--- a/src/camel/camel-store.c
+++ b/src/camel/camel-store.c
@@ -1155,10 +1155,6 @@ folder_info_cmp (gconstpointer ap,
* %NULL urls to fill in gaps in the tree. The value of @short_names
* is used in constructing the names of these intermediate folders.
*
- * NOTE: This is deprected, do not use this.
- * FIXME: remove this/move it to imap, which is the only user of it now.
- *
- * Deprecated:
* Returns: the top level of the tree of linked folder info.
**/
CamelFolderInfo *
diff --git a/src/camel/camel-store.h b/src/camel/camel-store.h
index 1c223ee51..45c309ebf 100644
--- a/src/camel/camel-store.h
+++ b/src/camel/camel-store.h
@@ -251,13 +251,11 @@ GType camel_folder_info_get_type (void);
CamelFolderInfo *
camel_folder_info_new (void);
void camel_folder_info_free (CamelFolderInfo *fi);
-#ifndef CAMEL_DISABLE_DEPRECATED
CamelFolderInfo *
camel_folder_info_build (GPtrArray *folders,
const gchar *namespace_,
gchar separator,
gboolean short_names);
-#endif /* CAMEL_DISABLE_DEPRECATED */
CamelFolderInfo *
camel_folder_info_clone (CamelFolderInfo *fi);
gboolean camel_store_can_refresh_folder (CamelStore *store,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]