[tracker-miners/wip/carlosg/fanotify: 1/3] tests: Fix typo




commit 186b465de9cfbc7495b49b7346416d954cfa39d3
Author: Carlos Garnacho <carlosg gnome org>
Date:   Wed Dec 29 11:57:25 2021 +0100

    tests: Fix typo
    
    We are getting the path string from the wrong GFile here. This is
    only used for logging purposes, so there are no functional changes
    to the test.

 tests/libtracker-miner/tracker-monitor-test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/libtracker-miner/tracker-monitor-test.c b/tests/libtracker-miner/tracker-monitor-test.c
index 606550565..d5069f273 100644
--- a/tests/libtracker-miner/tracker-monitor-test.c
+++ b/tests/libtracker-miner/tracker-monitor-test.c
@@ -358,7 +358,7 @@ test_monitor_events_moved_cb (TrackerMonitor *monitor,
        gchar *other_path;
 
        g_assert_true (file != NULL);
-       path = g_file_get_path (other_file);
+       path = g_file_get_path (file);
        other_path = g_file_get_path (other_file);
 
        g_debug ("***** '%s'->'%s' (%s) (MOVED) (source %smonitored)",


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]