diff options
author | Dan Winship <danw@src.gnome.org> | 2000-04-19 03:05:15 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-04-19 03:05:15 +0800 |
commit | fe97fa2fbb1628f20ae975fcf549f551ee893228 (patch) | |
tree | 14e74ad3e06f0c6fdf129ece0d9f782b0739fcec /camel/camel-op-queue.c | |
parent | b0c0886afacc59a31c407152ee4a8c682770dd08 (diff) | |
download | gsoc2013-evolution-fe97fa2fbb1628f20ae975fcf549f551ee893228.tar gsoc2013-evolution-fe97fa2fbb1628f20ae975fcf549f551ee893228.tar.gz gsoc2013-evolution-fe97fa2fbb1628f20ae975fcf549f551ee893228.tar.bz2 gsoc2013-evolution-fe97fa2fbb1628f20ae975fcf549f551ee893228.tar.lz gsoc2013-evolution-fe97fa2fbb1628f20ae975fcf549f551ee893228.tar.xz gsoc2013-evolution-fe97fa2fbb1628f20ae975fcf549f551ee893228.tar.zst gsoc2013-evolution-fe97fa2fbb1628f20ae975fcf549f551ee893228.zip |
kill camel-log
svn path=/trunk/; revision=2487
Diffstat (limited to 'camel/camel-op-queue.c')
-rw-r--r-- | camel/camel-op-queue.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/camel/camel-op-queue.c b/camel/camel-op-queue.c index 284d96c2be..3e17222f0a 100644 --- a/camel/camel-op-queue.c +++ b/camel/camel-op-queue.c @@ -27,7 +27,6 @@ #include <config.h> -#include "camel-log.h" #include "camel-op-queue.h" static GStaticMutex op_queue_mutex = G_STATIC_MUTEX_INIT; @@ -46,14 +45,11 @@ camel_op_queue_new () { CamelOpQueue *op_queue; - CAMEL_LOG_FULL_DEBUG ("Entering CamelOpQueue::new\n"); - op_queue = g_new (CamelOpQueue, 1); op_queue->ops_tail = NULL; op_queue->ops_head = NULL; op_queue->service_available = TRUE; - CAMEL_LOG_FULL_DEBUG ("Leaving CamelOpQueue::new\n"); return op_queue; } @@ -61,10 +57,8 @@ camel_op_queue_new () void camel_op_queue_free (CamelOpQueue *op_queue) { - CAMEL_LOG_FULL_DEBUG ("Entering CamelOpQueue::free\n"); g_list_free (op_queue->ops_head); g_free (op_queue); - CAMEL_LOG_FULL_DEBUG ("Leaving CamelOpQueue::free\n"); } /** @@ -78,18 +72,14 @@ camel_op_queue_free (CamelOpQueue *op_queue) void camel_op_queue_push_op (CamelOpQueue *queue, CamelOp *op) { - CAMEL_LOG_FULL_DEBUG ("Entering CamelOpQueue::push_op\n"); g_assert (queue); g_static_mutex_lock (&op_queue_mutex); if (!queue->ops_tail) { - CAMEL_LOG_FULL_DEBUG ("CamelOpQueue::push_op queue does not exists yet. " - "Creating it\n"); queue->ops_head = g_list_prepend (NULL, op); queue->ops_tail = queue->ops_head; } else queue->ops_head = g_list_prepend (queue->ops_head, op); g_static_mutex_unlock (&op_queue_mutex); - CAMEL_LOG_FULL_DEBUG ("Leaving CamelOpQueue::push_op\n"); } @@ -107,7 +97,6 @@ camel_op_queue_pop_op (CamelOpQueue *queue) GList *op_list; CamelOp *op; - CAMEL_LOG_FULL_DEBUG ("Entering CamelOpQueue::pop_op\n"); g_assert (queue); g_static_mutex_lock (&op_queue_mutex); @@ -118,7 +107,6 @@ camel_op_queue_pop_op (CamelOpQueue *queue) op = (CamelOp *)op_list->data; g_static_mutex_unlock (&op_queue_mutex); - CAMEL_LOG_FULL_DEBUG ("Leaving CamelOpQueue::pop_op\n"); return op; } @@ -136,12 +124,9 @@ camel_op_queue_run_next_op (CamelOpQueue *queue) { CamelOp *op; - CAMEL_LOG_FULL_DEBUG ("Entering CamelOpQueue::run_next_op\n"); op = camel_op_queue_pop_op (queue); if (!op) return FALSE; - - CAMEL_LOG_FULL_DEBUG ("Leaving CamelOpQueue::run_next_op\n"); return FALSE; } @@ -155,11 +140,9 @@ camel_op_queue_run_next_op (CamelOpQueue *queue) void camel_op_queue_set_service_availability (CamelOpQueue *queue, gboolean available) { - CAMEL_LOG_FULL_DEBUG ("Entering CamelOpQueue::set_service_availability\n"); g_static_mutex_lock (&op_queue_mutex); queue->service_available = available; g_static_mutex_unlock (&op_queue_mutex); - CAMEL_LOG_FULL_DEBUG ("Leaving CamelOpQueue::set_service_availability\n"); } /** @@ -175,11 +158,9 @@ camel_op_queue_get_service_availability (CamelOpQueue *queue) { gboolean available; - CAMEL_LOG_FULL_DEBUG ("Entering CamelOpQueue::get_service_availability\n"); g_static_mutex_lock (&op_queue_mutex); available = queue->service_available; g_static_mutex_unlock (&op_queue_mutex); - CAMEL_LOG_FULL_DEBUG ("Leaving CamelOpQueue::get_service_availability\n"); return available; } |