[tracker-miners/wip/carlosg/shuffle-libtracker-miner: 22/115] libtracker-miner: Fix argument order



commit 14ebaa33a9729fee3bf7493abb788979ce6cc0f0
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 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-miner-fs.h b/src/libtracker-miner/tracker-miner-fs.h
index 47d7dd9f5..32e948aed 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]