aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2007-02-23 23:37:14 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2007-02-23 23:37:14 +0800
commit4271572270285e02ee812484508a68729c6a82c1 (patch)
treeae627b0868b7fc065370ca490868615a2540e8de
parent98fd575c5dfd73c576411399dd4c4b03924681db (diff)
downloadgsoc2013-evolution-4271572270285e02ee812484508a68729c6a82c1.tar.gz
gsoc2013-evolution-4271572270285e02ee812484508a68729c6a82c1.tar.zst
gsoc2013-evolution-4271572270285e02ee812484508a68729c6a82c1.zip
** Fixes bug #356177
2007-02-23 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #356177 * mail/mail-session.c: Remove an unused EMutex. svn path=/trunk/; revision=33242
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/mail-session.c7
2 files changed, 6 insertions, 7 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 97aa1328aa..51dc7aa1ca 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,9 @@
+2007-02-23 Matthew Barnes <mbarnes@redhat.com>
+
+ ** Fixes bug #356177
+
+ * mail-session.c: Remove an unused EMutex.
+
2007-02-12 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #350253
diff --git a/mail/mail-session.c b/mail/mail-session.c
index 9b69f53643..ee5febe99d 100644
--- a/mail/mail-session.c
+++ b/mail/mail-session.c
@@ -63,17 +63,12 @@ static int session_check_junk_notify_id = -1;
#define MAIL_SESSION_CLASS(k) (CAMEL_CHECK_CLASS_CAST ((k), MAIL_SESSION_TYPE, MailSessionClass))
#define MAIL_IS_SESSION(o) (CAMEL_CHECK_TYPE((o), MAIL_SESSION_TYPE))
-#define MAIL_SESSION_LOCK(s, l) (e_mutex_lock(((MailSession *)s)->l))
-#define MAIL_SESSION_UNLOCK(s, l) (e_mutex_unlock(((MailSession *)s)->l))
-
typedef struct _MailSession {
CamelSession parent_object;
gboolean interactive;
FILE *filter_logfile;
- EMutex *lock;
-
MailAsyncEvent *async;
} MailSession;
@@ -96,7 +91,6 @@ static void ms_thread_msg_free(CamelSession *session, CamelSessionThreadMsg *m);
static void
init (MailSession *session)
{
- session->lock = e_mutex_new(E_MUTEX_REC);
session->async = mail_async_event_new();
}
@@ -107,7 +101,6 @@ finalise (MailSession *session)
gconf_client_notify_remove (mail_config_get_gconf_client (), session_check_junk_notify_id);
mail_async_event_destroy(session->async);
- e_mutex_destroy(session->lock);
}
static void