summaryrefslogtreecommitdiff
path: root/src/gio-utils.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-09-12 12:38:59 +0200
committerZenWalker <[email protected]>2019-09-14 13:37:27 +0200
commit17c124a61edff83334b7776aa82ffa17f3c5aa9d (patch)
tree20c698eb5634861455266aa5359a4d8191e969f0 /src/gio-utils.c
parent29b945fd67d1e7eb93cfe66d089977d064c7f7bc (diff)
downloadengrampa-17c124a61edff83334b7776aa82ffa17f3c5aa9d.tar.bz2
engrampa-17c124a61edff83334b7776aa82ffa17f3c5aa9d.tar.xz
gio-utils: Remove unused functions
$ cppcheck --enable=unusedFunction . [src/gio-utils.c:1091]: (style) The function 'g_copy_uri_async' is never used. [src/gio-utils.c:1060]: (style) The function 'g_copy_uris_async' is never used.
Diffstat (limited to 'src/gio-utils.c')
-rw-r--r--src/gio-utils.c63
1 files changed, 0 insertions, 63 deletions
diff --git a/src/gio-utils.c b/src/gio-utils.c
index 8c5eac0..2ea4a3c 100644
--- a/src/gio-utils.c
+++ b/src/gio-utils.c
@@ -1056,69 +1056,6 @@ g_copy_file_async (GFile *source,
}
-void
-g_copy_uris_async (GList *sources,
- GList *destinations,
- GFileCopyFlags flags,
- int io_priority,
- GCancellable *cancellable,
- CopyProgressCallback progress_callback,
- gpointer progress_callback_data,
- CopyDoneCallback callback,
- gpointer user_data)
-{
- GList *source_files, *destination_files;
-
- source_files = gio_file_list_new_from_uri_list (sources);
- destination_files = gio_file_list_new_from_uri_list (destinations);
-
- g_copy_files_async (source_files,
- destination_files,
- flags,
- io_priority,
- cancellable,
- progress_callback,
- progress_callback_data,
- callback,
- user_data);
-
- gio_file_list_free (source_files);
- gio_file_list_free (destination_files);
-}
-
-
-void
-g_copy_uri_async (const char *source,
- const char *destination,
- GFileCopyFlags flags,
- int io_priority,
- GCancellable *cancellable,
- CopyProgressCallback progress_callback,
- gpointer progress_callback_data,
- CopyDoneCallback callback,
- gpointer user_data)
-{
- GList *source_list;
- GList *destination_list;
-
- source_list = g_list_append (NULL, (gpointer)source);
- destination_list = g_list_append (NULL, (gpointer)destination);
-
- g_copy_uris_async (source_list,
- destination_list,
- flags,
- io_priority,
- cancellable,
- progress_callback,
- progress_callback_data,
- callback,
- user_data);
-
- g_list_free (source_list);
- g_list_free (destination_list);
-}
-
-
/* -- g_directory_copy_async -- */