summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlberts Muktupāvels <alberts.muktupavels@gmail.com>2020-01-30 23:55:15 +0200
committerAlberts Muktupāvels <alberts.muktupavels@gmail.com>2020-04-06 21:19:15 +0300
commitdce530aa878478be05de4c716563ef98ed524384 (patch)
tree5d029ac685de7a92f46ce588566a09819425607f /test
parent2b6eadce2e98fd433a8d683e0d75bfb76335aba8 (diff)
downloadnautilus-dce530aa878478be05de4c716563ef98ed524384.tar.gz
dbus-manager: add and implement FileOperations2 interface
Add new version of FileOperations interface. This versions adds PlatformData argument to all methods. Currently supported arguments are parent-handle and timestamp. This change is necessary for proper focus handling. https://gitlab.gnome.org/GNOME/nautilus/merge_requests/504
Diffstat (limited to 'test')
-rw-r--r--test/automated/displayless/test-utilities.c4
-rw-r--r--test/interactive/test-copy.c1
2 files changed, 3 insertions, 2 deletions
diff --git a/test/automated/displayless/test-utilities.c b/test/automated/displayless/test-utilities.c
index f86783317..68014ea0e 100644
--- a/test/automated/displayless/test-utilities.c
+++ b/test/automated/displayless/test-utilities.c
@@ -162,7 +162,7 @@ test_operation_undo (void)
G_CALLBACK (quit_loop_callback),
loop);
- nautilus_file_undo_manager_undo (NULL);
+ nautilus_file_undo_manager_undo (NULL, NULL);
g_main_loop_run (loop);
@@ -191,7 +191,7 @@ test_operation_undo_redo (void)
G_CALLBACK (quit_loop_callback),
loop);
- nautilus_file_undo_manager_redo (NULL);
+ nautilus_file_undo_manager_redo (NULL, NULL);
g_main_loop_run (loop);
diff --git a/test/interactive/test-copy.c b/test/interactive/test-copy.c
index 39fe609f1..194eda444 100644
--- a/test/interactive/test-copy.c
+++ b/test/interactive/test-copy.c
@@ -77,6 +77,7 @@ main (int argc,
nautilus_file_operations_copy_async (sources,
dest,
GTK_WINDOW (window),
+ NULL,
copy_done, NULL);
infos = nautilus_progress_info_manager_get_all_infos (manager);