aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2013-07-16 00:52:50 +0800
committerMilan Crha <mcrha@redhat.com>2013-07-16 00:52:50 +0800
commitd3fdc59c401763d465f996552c02b284dc44be0b (patch)
tree760a013a50316bdc01fdc9591ddc7f1c4e3722a3
parentdcf302c2ba303a26f6f6a356f2f71f22f81eeb02 (diff)
downloadgsoc2013-evolution-d3fdc59c401763d465f996552c02b284dc44be0b.tar
gsoc2013-evolution-d3fdc59c401763d465f996552c02b284dc44be0b.tar.gz
gsoc2013-evolution-d3fdc59c401763d465f996552c02b284dc44be0b.tar.bz2
gsoc2013-evolution-d3fdc59c401763d465f996552c02b284dc44be0b.tar.lz
gsoc2013-evolution-d3fdc59c401763d465f996552c02b284dc44be0b.tar.xz
gsoc2013-evolution-d3fdc59c401763d465f996552c02b284dc44be0b.tar.zst
gsoc2013-evolution-d3fdc59c401763d465f996552c02b284dc44be0b.zip
Drop unused em_utils_get_proxy()
-rw-r--r--mail/em-utils.c28
-rw-r--r--mail/em-utils.h2
2 files changed, 0 insertions, 30 deletions
diff --git a/mail/em-utils.c b/mail/em-utils.c
index 08446c1eaf..0b65b635e1 100644
--- a/mail/em-utils.c
+++ b/mail/em-utils.c
@@ -1113,34 +1113,6 @@ em_utils_selection_get_urilist (GtkSelectionData *selection_data,
}
/* ********************************************************************** */
-static EProxy *emu_proxy = NULL;
-static GMutex emu_proxy_lock;
-
-static gpointer
-emu_proxy_setup (gpointer data)
-{
- if (!emu_proxy) {
- emu_proxy = e_proxy_new ();
- e_proxy_setup_proxy (emu_proxy);
- /* not necessary to listen for changes here */
- }
-
- return NULL;
-}
-
-EProxy *
-em_utils_get_proxy (void)
-{
- g_mutex_lock (&emu_proxy_lock);
-
- if (!emu_proxy) {
- mail_call_main (MAIL_CALL_p_p, (MailMainFunc) emu_proxy_setup, NULL);
- }
-
- g_mutex_unlock (&emu_proxy_lock);
-
- return emu_proxy;
-}
static gboolean
is_only_text_part_in_this_level (GList *parts,
diff --git a/mail/em-utils.h b/mail/em-utils.h
index 4fe771a4c1..cb71f155f5 100644
--- a/mail/em-utils.h
+++ b/mail/em-utils.h
@@ -60,8 +60,6 @@ void em_utils_selection_get_uidlist (GtkSelectionData *data, EMailSession *sessi
void em_utils_selection_set_urilist (GtkSelectionData *data, CamelFolder *folder, GPtrArray *uids);
void em_utils_selection_get_urilist (GtkSelectionData *data, CamelFolder *folder);
-EProxy * em_utils_get_proxy (void);
-
/* FIXME: should this have an override charset? */
gchar * em_utils_message_to_html (CamelSession *session,
CamelMimeMessage *msg,