[tracker] libtracker-miner: Fix argument order
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] libtracker-miner: Fix argument order
- Date: Tue, 14 Nov 2017 22:25:18 +0000 (UTC)
commit c859a74dc1bc75ea724ef5a237de6b0ce7854a17
Author: Carlos Garnacho <carlosg gnome org>
Date: Mon Oct 16 11:42:44 2017 +0200
libtracker-miner: Fix argument order
Despite the order implied here, the source/dest GFiles were emitted in
the inverse order. Funnily tracker-miners and everything else around
gets the order right, so it's really the header definition what is
backwards here.
src/libtracker-miner/tracker-miner-fs.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-miner-fs.h b/src/libtracker-miner/tracker-miner-fs.h
index 47d7dd9..32e948a 100644
--- a/src/libtracker-miner/tracker-miner-fs.h
+++ b/src/libtracker-miner/tracker-miner-fs.h
@@ -103,8 +103,8 @@ typedef struct {
gchar * (* remove_children) (TrackerMinerFS *fs,
GFile *file);
gchar * (* move_file) (TrackerMinerFS *fs,
- GFile *source,
- GFile *dest,
+ GFile *dest,
+ GFile *source,
gboolean recursive);
gboolean (* filter_event) (TrackerMinerFS *fs,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]