summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-file-changes-queue.c
diff options
context:
space:
mode:
authorScott Balneaves <[email protected]>2013-04-10 13:26:43 -0500
committerScott Balneaves <[email protected]>2013-04-10 13:26:43 -0500
commita106e6d11f100f29191f9642f0b142a1b14f3801 (patch)
tree905bca1c8920e0f12510ccb86ca3a2241fc79194 /libcaja-private/caja-file-changes-queue.c
parentb7a3827fe65212bf9a924101aba93e0d18a4265d (diff)
downloadcaja-a106e6d11f100f29191f9642f0b142a1b14f3801.tar.bz2
caja-a106e6d11f100f29191f9642f0b142a1b14f3801.tar.xz
Typo on deprecations webpage.
Diffstat (limited to 'libcaja-private/caja-file-changes-queue.c')
-rw-r--r--libcaja-private/caja-file-changes-queue.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/libcaja-private/caja-file-changes-queue.c b/libcaja-private/caja-file-changes-queue.c
index b77d13cf..127de7ed 100644
--- a/libcaja-private/caja-file-changes-queue.c
+++ b/libcaja-private/caja-file-changes-queue.c
@@ -60,7 +60,7 @@ typedef struct
GList *head;
GList *tail;
#ifdef G_THREADS_ENABLED
-# if GLIB_CHECK_VERSION(3, 32, 0)
+# if GLIB_CHECK_VERSION(2, 32, 0)
GMutex mutex;
# else
GMutex *mutex;
@@ -76,7 +76,7 @@ caja_file_changes_queue_new (void)
result = g_new0 (CajaFileChangesQueue, 1);
#ifdef G_THREADS_ENABLED
-# if GLIB_CHECK_VERSION(3, 32, 0)
+# if GLIB_CHECK_VERSION(2, 32, 0)
g_mutex_init (&result->mutex);
# else
result->mutex = g_mutex_new ();
@@ -135,7 +135,7 @@ caja_file_changes_queue_free (CajaFileChangesQueue *queue)
g_list_free (queue->head);
#ifdef G_THREADS_ENABLED
-# if GLIB_CHECK_VERSION(3, 32, 0)
+# if GLIB_CHECK_VERSION(2, 32, 0)
g_mutex_clear (&queue->mutex);
# else
g_mutex_free (queue->mutex);
@@ -151,7 +151,7 @@ caja_file_changes_queue_add_common (CajaFileChangesQueue *queue,
CajaFileChange *new_item)
{
/* enqueue the new queue item while locking down the list */
-#if GLIB_CHECK_VERSION(3, 32, 0)
+#if GLIB_CHECK_VERSION(2, 32, 0)
MUTEX_LOCK (&queue->mutex);
#else
MUTEX_LOCK (queue->mutex);
@@ -161,7 +161,7 @@ caja_file_changes_queue_add_common (CajaFileChangesQueue *queue,
if (queue->tail == NULL)
queue->tail = queue->head;
-#if GLIB_CHECK_VERSION(3, 32, 0)
+#if GLIB_CHECK_VERSION(2, 32, 0)
MUTEX_UNLOCK (&queue->mutex);
#else
MUTEX_UNLOCK (queue->mutex);
@@ -267,7 +267,7 @@ caja_file_changes_queue_get_change (CajaFileChangesQueue *queue)
g_assert (queue != NULL);
/* dequeue the tail item while locking down the list */
-#if GLIB_CHECK_VERSION (3, 32, 0)
+#if GLIB_CHECK_VERSION (2, 32, 0)
MUTEX_LOCK (&queue->mutex);
#else
MUTEX_LOCK (queue->mutex);
@@ -287,7 +287,7 @@ caja_file_changes_queue_get_change (CajaFileChangesQueue *queue)
queue->tail = new_tail;
}
-#if GLIB_CHECK_VERSION (3, 32, 0)
+#if GLIB_CHECK_VERSION (2, 32, 0)
MUTEX_UNLOCK (&queue->mutex);
#else
MUTEX_UNLOCK (queue->mutex);