[evolution-data-server] Remove imapx_concat().



commit fdaaf43f1592cb62e08815456d54d09d86405b5a
Author: Matthew Barnes <mbarnes redhat com>
Date:   Tue Sep 10 16:11:08 2013 -0400

    Remove imapx_concat().
    
    No longer used.

 camel/camel-imapx-utils.c |   18 ------------------
 camel/camel-imapx-utils.h |    3 ---
 2 files changed, 0 insertions(+), 21 deletions(-)
---
diff --git a/camel/camel-imapx-utils.c b/camel/camel-imapx-utils.c
index 54dd487..812e4a3 100644
--- a/camel/camel-imapx-utils.c
+++ b/camel/camel-imapx-utils.c
@@ -2884,24 +2884,6 @@ imapx_path_to_physical (const gchar *prefix,
        return res;
 }
 
-gchar *
-imapx_concat (CamelIMAPXStore *imapx_store,
-              const gchar *prefix,
-              const gchar *suffix)
-{
-       gsize len;
-       gchar dir_sep = imapx_store->dir_sep;
-
-       if (!dir_sep)
-               dir_sep = '/';
-
-       len = strlen (prefix);
-       if (len == 0 || prefix[len - 1] == dir_sep)
-               return g_strdup_printf ("%s%s", prefix, suffix);
-       else
-               return g_strdup_printf ("%s%c%s", prefix, dir_sep, suffix);
-}
-
 static void
 imapx_namespace_clear (CamelIMAPXStoreNamespace **ns)
 {
diff --git a/camel/camel-imapx-utils.h b/camel/camel-imapx-utils.h
index e6be3de..1df95d1 100644
--- a/camel/camel-imapx-utils.h
+++ b/camel/camel-imapx-utils.h
@@ -401,9 +401,6 @@ void imapx_utils_init (void);
 /* chen adds from old imap provider - place it in right place */
 gchar *                imapx_path_to_physical          (const gchar *prefix,
                                                 const gchar *vpath);
-gchar *                imapx_concat                    (struct _CamelIMAPXStore *imapx_store,
-                                                const gchar *prefix,
-                                                const gchar *suffix);
 gchar *                imapx_get_temp_uid              (void);
 
 void           camel_imapx_namespace_list_clear


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]