summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gio-utils.c63
-rw-r--r--src/gio-utils.h18
2 files changed, 0 insertions, 81 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 -- */
diff --git a/src/gio-utils.h b/src/gio-utils.h
index 470b635..47add16 100644
--- a/src/gio-utils.h
+++ b/src/gio-utils.h
@@ -96,15 +96,6 @@ void g_copy_files_async (GList *sources,
gpointer progress_callback_data,
CopyDoneCallback callback,
gpointer user_data);
-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);
void g_copy_file_async (GFile *source,
GFile *destination,
GFileCopyFlags flags,
@@ -114,15 +105,6 @@ void g_copy_file_async (GFile *source,
gpointer progress_callback_data,
CopyDoneCallback callback,
gpointer user_data);
-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);
void g_directory_copy_async (const char *source,
const char *destination,
GFileCopyFlags flags,