aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2004-05-05 02:01:57 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-05-05 02:01:57 +0800
commitf9682040321beba12c82fc92e58133c5c45be704 (patch)
treef5745ab8943b35c9f3d7e5d0fa87dc5aa771802e
parent6b3a25c2b8eb36773416e0c726a3662ccdf53ddc (diff)
downloadgsoc2013-evolution-f9682040321beba12c82fc92e58133c5c45be704.tar
gsoc2013-evolution-f9682040321beba12c82fc92e58133c5c45be704.tar.gz
gsoc2013-evolution-f9682040321beba12c82fc92e58133c5c45be704.tar.bz2
gsoc2013-evolution-f9682040321beba12c82fc92e58133c5c45be704.tar.lz
gsoc2013-evolution-f9682040321beba12c82fc92e58133c5c45be704.tar.xz
gsoc2013-evolution-f9682040321beba12c82fc92e58133c5c45be704.tar.zst
gsoc2013-evolution-f9682040321beba12c82fc92e58133c5c45be704.zip
Get rid of #ifdef ENABLE_THREADS stuff, that was done away with a while
2004-05-04 Jeffrey Stedfast <fejj@ximian.com> * camel-session.h: Get rid of #ifdef ENABLE_THREADS stuff, that was done away with a while back and is causing problems for 3rd parties trying to use camel unless they explicityly #define ENABLE_THREADS in their code. svn path=/trunk/; revision=25788
-rw-r--r--camel/ChangeLog7
-rw-r--r--camel/camel-session.h9
2 files changed, 8 insertions, 8 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index bd4a7e3294..1f827df7ca 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,10 @@
+2004-05-04 Jeffrey Stedfast <fejj@ximian.com>
+
+ * camel-session.h: Get rid of #ifdef ENABLE_THREADS stuff, that
+ was done away with a while back and is causing problems for 3rd
+ parties trying to use camel unless they explicityly #define
+ ENABLE_THREADS in their code.
+
2004-05-04 Christian Kellner <gicmo@xatom.net>
* providers/groupwise/camel-gw-listener.h: Fixed typo.
diff --git a/camel/camel-session.h b/camel/camel-session.h
index f3f058568b..d57603dae9 100644
--- a/camel/camel-session.h
+++ b/camel/camel-session.h
@@ -70,10 +70,8 @@ struct _CamelSession
gboolean check_junk:1;
};
-#ifdef ENABLE_THREADS
typedef struct _CamelSessionThreadOps CamelSessionThreadOps;
typedef struct _CamelSessionThreadMsg CamelSessionThreadMsg;
-#endif
typedef struct {
CamelObjectClass parent_class;
@@ -104,15 +102,13 @@ typedef struct {
CamelFilterDriver * (*get_filter_driver) (CamelSession *session,
const char *type,
CamelException *ex);
-#ifdef ENABLE_THREADS
+
/* mechanism for creating and maintaining multiple threads of control */
void *(*thread_msg_new)(CamelSession *session, CamelSessionThreadOps *ops, unsigned int size);
void (*thread_msg_free)(CamelSession *session, CamelSessionThreadMsg *msg);
int (*thread_queue)(CamelSession *session, CamelSessionThreadMsg *msg, int flags);
void (*thread_wait)(CamelSession *session, int id);
void (*thread_status)(CamelSession *session, CamelSessionThreadMsg *msg, const char *text, int pc);
-#endif
-
} CamelSessionClass;
@@ -170,7 +166,6 @@ gboolean camel_session_check_junk (CamelSession *session);
void camel_session_set_check_junk (CamelSession *session,
gboolean check_junk);
-#ifdef ENABLE_THREADS
struct _CamelSessionThreadOps {
void (*receive)(CamelSession *session, struct _CamelSessionThreadMsg *m);
void (*free)(CamelSession *session, struct _CamelSessionThreadMsg *m);
@@ -195,8 +190,6 @@ void camel_session_thread_msg_free(CamelSession *session, CamelSessionThreadMsg
int camel_session_thread_queue(CamelSession *session, CamelSessionThreadMsg *msg, int flags);
void camel_session_thread_wait(CamelSession *session, int id);
-#endif
-
#ifdef __cplusplus
}
#endif /* __cplusplus */