aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-utils.c
diff options
context:
space:
mode:
authorMatt McCutchen <matt@mattmccutchen.net>2009-03-02 09:34:54 +0800
committerTobias Mueller <tobiasmue@src.gnome.org>2009-03-02 09:34:54 +0800
commit8625eda8bc1871e9f36253a01b9378eb1e5aaf90 (patch)
tree910c4f16c9923a05cb1aaacce511aca4ba8c881b /mail/em-utils.c
parent4ddbe6ba6e109cc10e0ffdb6d8db46589907538b (diff)
downloadgsoc2013-evolution-8625eda8bc1871e9f36253a01b9378eb1e5aaf90.tar
gsoc2013-evolution-8625eda8bc1871e9f36253a01b9378eb1e5aaf90.tar.gz
gsoc2013-evolution-8625eda8bc1871e9f36253a01b9378eb1e5aaf90.tar.bz2
gsoc2013-evolution-8625eda8bc1871e9f36253a01b9378eb1e5aaf90.tar.lz
gsoc2013-evolution-8625eda8bc1871e9f36253a01b9378eb1e5aaf90.tar.xz
gsoc2013-evolution-8625eda8bc1871e9f36253a01b9378eb1e5aaf90.tar.zst
gsoc2013-evolution-8625eda8bc1871e9f36253a01b9378eb1e5aaf90.zip
Revert evolution revision 37063 (workaround for bug 563867).
2009-03-02 Matt McCutchen <matt@mattmccutchen.net> * evolution/mail/em-folder-view.c: * evolution/mail/em-utils.c: * evolution/mail/em-utils.h: * evolution/mail/em-popup.c: Revert evolution revision 37063 (workaround for bug 563867). ** Part of the fix for bug #549838 svn path=/trunk/; revision=37350
Diffstat (limited to 'mail/em-utils.c')
-rw-r--r--mail/em-utils.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/mail/em-utils.c b/mail/em-utils.c
index 4a1a6eada9..7685e76845 100644
--- a/mail/em-utils.c
+++ b/mail/em-utils.c
@@ -2427,34 +2427,3 @@ em_utils_show_info_silent (GtkWidget *widget)
g_signal_connect(widget, "response", G_CALLBACK(error_response), NULL);
e_activity_handler_make_error (handler, "mail", E_LOG_WARNINGS, widget);
}
-
-gchar *
-em_utils_url_unescape_amp (const gchar *url)
-{
- gchar *buff;
- int i, j, amps;
-
- if (!url)
- return NULL;
-
- amps = 0;
- for (i = 0; url [i]; i++) {
- if (url [i] == '&' && strncmp (url + i, "&amp;", 5) == 0)
- amps++;
- }
-
- buff = g_strdup (url);
-
- if (!amps)
- return buff;
-
- for (i = 0, j = 0; url [i]; i++, j++) {
- buff [j] = url [i];
-
- if (url [i] == '&' && strncmp (url + i, "&amp;", 5) == 0)
- i += 4;
- }
- buff [j] = 0;
-
- return buff;
-}