[tracker/tracker-0.10] libtracker-miner: Rename and change to boolean return of a GEqualFunc
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.10] libtracker-miner: Rename and change to boolean return of a GEqualFunc
- Date: Mon, 1 Aug 2011 16:18:45 +0000 (UTC)
commit 319ea25509285f998cbed6da6686ac832b0330ec
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 9b2521f..4d26138 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]