[evolution-data-server/imap-notify: 28/40] Remove imapx_concat().



commit e6c3b62780295e49c72bf426b7fd85008d862124
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 6ba770f..f978cf4 100644
--- a/camel/camel-imapx-utils.c
+++ b/camel/camel-imapx-utils.c
@@ -2888,24 +2888,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 a5fbe6b..83eaa88 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]