[tracker/writeback-refactor-0.10: 36/63] libtracker-miner: Rename and change to boolean return of a GEqualFunc
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/writeback-refactor-0.10: 36/63] libtracker-miner: Rename and change to boolean return of a GEqualFunc
- Date: Thu, 28 Jul 2011 14:06:42 +0000 (UTC)
commit a57aa41baedd2836e5717938940023dce6e927d2
Author: Philip Van Hoof <philip codeminded be>
Date: Thu Jul 21 15:21:31 2011 +0200
libtracker-miner: Rename and change to boolean return of a GEqualFunc
src/libtracker-miner/tracker-miner-fs.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-miner-fs.c b/src/libtracker-miner/tracker-miner-fs.c
index 5fb5f6b..338c81d 100644
--- a/src/libtracker-miner/tracker-miner-fs.c
+++ b/src/libtracker-miner/tracker-miner-fs.c
@@ -3539,9 +3539,9 @@ moved_files_equal (gconstpointer a,
return g_file_equal (data->file, file);
}
-static gint
-compare_writeback_files (gconstpointer a,
- gconstpointer b)
+static gboolean
+writeback_files_equal (gconstpointer a,
+ gconstpointer b)
{
const ItemWritebackData *data = a;
GFile *file = G_FILE (b);
@@ -3630,7 +3630,7 @@ check_item_queues (TrackerMinerFS *fs,
case QUEUE_WRITEBACK:
/* No consecutive writebacks for the same file */
if (tracker_priority_queue_find (fs->priv->items_writeback, NULL,
- (GEqualFunc) compare_writeback_files, file)) {
+ writeback_files_equal, file)) {
g_debug (" Found previous unhandled WRITEBACK event");
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]