aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-utils.c33
-rw-r--r--libempathy/empathy-utils.h10
2 files changed, 0 insertions, 43 deletions
diff --git a/libempathy/empathy-utils.c b/libempathy/empathy-utils.c
index e334d6ca7..5f9178a55 100644
--- a/libempathy/empathy-utils.c
+++ b/libempathy/empathy-utils.c
@@ -105,39 +105,6 @@ empathy_init (void)
initialized = TRUE;
}
-gchar *
-empathy_substring (const gchar *str,
- gint start,
- gint end)
-{
- return g_strndup (str + start, end - start);
-}
-
-gint
-empathy_strcasecmp (const gchar *s1,
- const gchar *s2)
-{
- return empathy_strncasecmp (s1, s2, -1);
-}
-
-gint
-empathy_strncasecmp (const gchar *s1,
- const gchar *s2,
- gsize n)
-{
- gchar *u1, *u2;
- gint ret_val;
-
- u1 = g_utf8_casefold (s1, n);
- u2 = g_utf8_casefold (s2, n);
-
- ret_val = g_utf8_collate (u1, u2);
- g_free (u1);
- g_free (u2);
-
- return ret_val;
-}
-
gboolean
empathy_xml_validate (xmlDoc *doc,
const gchar *dtd_filename)
diff --git a/libempathy/empathy-utils.h b/libempathy/empathy-utils.h
index dca557028..97490b939 100644
--- a/libempathy/empathy-utils.h
+++ b/libempathy/empathy-utils.h
@@ -45,16 +45,6 @@ G_BEGIN_DECLS
void empathy_init (void);
-/* Strings */
-gchar * empathy_substring (const gchar *str,
- gint start,
- gint end);
-gint empathy_strcasecmp (const gchar *s1,
- const gchar *s2);
-gint empathy_strncasecmp (const gchar *s1,
- const gchar *s2,
- gsize n);
-
/* XML */
gboolean empathy_xml_validate (xmlDoc *doc,
const gchar *dtd_filename);